|
| 1 | +header: | |
| 2 | + /* |
| 3 | + * This file is part of the Ecommerce package. |
| 4 | + * |
| 5 | + * (c) Kévin Dunglas <[email protected]> |
| 6 | + * |
| 7 | + * For the full copyright and license information, please view the LICENSE |
| 8 | + * file that was distributed with this source code. |
| 9 | + */ |
| 10 | +rdfa: |
| 11 | + - |
| 12 | + uri: tests/data/schema.rdfa |
| 13 | + format: rdfa |
| 14 | +relations: |
| 15 | + - tests/data/v1.owl |
| 16 | +namespaces: |
| 17 | + entity: 'Dunglas\EcommerceBundle\Document' |
| 18 | + enum: 'Dunglas\EcommerceBundle\Enum' |
| 19 | + interface: 'Dunglas\EcommerceBundle\Model' |
| 20 | +annotationGenerators: |
| 21 | + - ApiPlatform\SchemaGenerator\AnnotationGenerator\PhpDocAnnotationGenerator |
| 22 | + - ApiPlatform\SchemaGenerator\AnnotationGenerator\ConstraintAnnotationGenerator |
| 23 | + - ApiPlatform\SchemaGenerator\AnnotationGenerator\DoctrineMongoDBAnnotationGenerator |
| 24 | +author: "Kévin Dunglas <[email protected]>" |
| 25 | +debug: true |
| 26 | +useInterface: true |
| 27 | +checkIsGoodRelations: true |
| 28 | +types: |
| 29 | + Thing: |
| 30 | + properties: |
| 31 | + name: ~ |
| 32 | + description: ~ |
| 33 | + image: { range: ImageObject } |
| 34 | + additionalType: ~ |
| 35 | + Product: |
| 36 | + properties: |
| 37 | + sku: |
| 38 | + cardinality: "(0..1)" |
| 39 | + url: ~ |
| 40 | + brand: ~ |
| 41 | + productID: ~ |
| 42 | + releaseDate: ~ |
| 43 | + offers: ~ |
| 44 | + itemCondition: ~ |
| 45 | + gtin13: ~ |
| 46 | + gtin14: ~ |
| 47 | + gtin8: ~ |
| 48 | + mpn: ~ |
| 49 | + color: ~ |
| 50 | + depth: { range: "Text" } |
| 51 | + height: { range: "Text" } |
| 52 | + weight: { range: "Text" } |
| 53 | + width: { range: "Text" } |
| 54 | + seller: { range: "Seller" } |
| 55 | + Brand: |
| 56 | + parent: "Thing" |
| 57 | + properties: |
| 58 | + logo: { range: "ImageObject" } |
| 59 | + Seller: |
| 60 | + parent: false |
| 61 | + guessFrom: Person |
| 62 | + properties: |
| 63 | + name: ~ |
| 64 | + birthDate: ~ |
| 65 | + ImageObject: |
| 66 | + parent: Thing |
| 67 | + properties: |
| 68 | + caption: ~ |
| 69 | + ProductModel: |
| 70 | + properties: |
| 71 | + isVariantOf: ~ |
| 72 | + Offer: |
| 73 | + parent: Thing |
| 74 | + properties: |
| 75 | + acceptedPaymentMethod: ~ |
| 76 | + availability: ~ |
| 77 | + availabilityStarts: ~ |
| 78 | + availabilityEnds: ~ |
| 79 | + availableDeliveryMethod: ~ |
| 80 | + category: { range: "Text" } |
| 81 | + deliveryLeadTime: ~ |
| 82 | + inventoryLevel: ~ |
| 83 | + itemCondition: ~ |
| 84 | + price: { range: Number } |
| 85 | + priceCurrency: ~ |
| 86 | + validFrom: ~ |
| 87 | + validThrough: ~ |
| 88 | + DeliveryChargeSpecification: { parent: false } |
| 89 | + PaymentChargeSpecification: { parent: false } |
| 90 | + OfferItemCondition: ~ |
| 91 | + PaymentMethod: ~ |
| 92 | + ItemAvailability: ~ |
| 93 | + DeliveryMethod: ~ |
| 94 | + QuantitativeValue: { parent: false } |
0 commit comments