|
215 | 215 | "required": [ |
216 | 216 | "product_name" |
217 | 217 | ] |
| 218 | + }, |
| 219 | + "examples": { |
| 220 | + "basic": { |
| 221 | + "summary": "Basic product creation", |
| 222 | + "value": { |
| 223 | + "product_name": "Example Product" |
| 224 | + } |
| 225 | + } |
218 | 226 | } |
219 | 227 | } |
220 | 228 | } |
|
299 | 307 | "pre_release" |
300 | 308 | ] |
301 | 309 | } |
| 310 | + }, |
| 311 | + "examples": { |
| 312 | + "basic": { |
| 313 | + "summary": "Basic leaf creation", |
| 314 | + "value": { |
| 315 | + "tea_product_identifier": "123e4567-e89b-12d3-a456-426614174000", |
| 316 | + "product_version": "1.0.0", |
| 317 | + "release_date": "2024-03-20T15:30:00Z", |
| 318 | + "pre_release": false |
| 319 | + } |
| 320 | + } |
302 | 321 | } |
303 | 322 | } |
304 | 323 | }, |
|
580 | 599 | "author", |
581 | 600 | "reason" |
582 | 601 | ] |
| 602 | + }, |
| 603 | + "examples": { |
| 604 | + "basic": { |
| 605 | + "summary": "Basic collection creation", |
| 606 | + "value": { |
| 607 | + "tea_leaf_identifier": "123e4567-e89b-12d3-a456-426614174000", |
| 608 | + "product_name": "Example Product", |
| 609 | + "product_version": "1.0.0", |
| 610 | + "release_date": "2024-03-20T15:30:00Z", |
| 611 | + "author": { |
| 612 | + "name": "John Doe", |
| 613 | + |
| 614 | + "organization": "Example Org" |
| 615 | + }, |
| 616 | + "reason": "New Product Release", |
| 617 | + "artifacts": [ |
| 618 | + { |
| 619 | + "name": "Example Artifact", |
| 620 | + "type": "bom", |
| 621 | + "author": { |
| 622 | + "name": "John Doe", |
| 623 | + |
| 624 | + "organization": "Example Org" |
| 625 | + }, |
| 626 | + "objects": [ |
| 627 | + { |
| 628 | + "description": "Example SBOM", |
| 629 | + "mime_type": "application/json", |
| 630 | + "artifact_url": "https://example.com/sbom.json", |
| 631 | + "artifact_size_in_bytes": 1024, |
| 632 | + "artifact_checksum": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", |
| 633 | + "artifact_checksum_type": "SHA256" |
| 634 | + } |
| 635 | + ] |
| 636 | + } |
| 637 | + ] |
| 638 | + } |
| 639 | + } |
583 | 640 | } |
584 | 641 | } |
585 | 642 | } |
|
671 | 728 | "release_date": { |
672 | 729 | "type": "string", |
673 | 730 | "format": "date-time", |
674 | | - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:?\\d{2})$", |
675 | 731 | "example": "2024-03-20T15:30:00Z" |
676 | 732 | }, |
677 | 733 | "author": { |
|
890 | 946 | "release_date": { |
891 | 947 | "type": "string", |
892 | 948 | "format": "date-time", |
893 | | - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:?\\d{2})$", |
894 | 949 | "example": "2024-03-20T15:30:00Z" |
895 | 950 | }, |
896 | 951 | "pre_release": { |
|
899 | 954 | "end_of_life": { |
900 | 955 | "type": "string", |
901 | 956 | "format": "date-time", |
902 | | - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:?\\d{2})$", |
903 | 957 | "example": "2024-03-20T15:30:00Z" |
904 | 958 | }, |
905 | 959 | "collection_references": { |
|
934 | 988 | "release_date": { |
935 | 989 | "type": "string", |
936 | 990 | "format": "date-time", |
937 | | - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:?\\d{2})$", |
938 | 991 | "example": "2024-03-20T15:30:00Z" |
939 | 992 | }, |
940 | 993 | "author": { |
|
1082 | 1135 | "timestamp": { |
1083 | 1136 | "type": "string", |
1084 | 1137 | "format": "date-time", |
1085 | | - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:?\\d{2})$", |
1086 | 1138 | "example": "2024-03-20T15:30:00Z" |
1087 | 1139 | }, |
1088 | 1140 | "page_start_index": { |
|
0 commit comments