Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: replace endDate instances with more specific terms #952

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ properties:
type: string
$linkedData:
term: inspectionStarted
'@id': https://schema.org/startDate
'@id': https://vocabulary.uncefact.org/startDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
inspectionEnded:
title: Inspection Ended
description: Date and time inspection ended in ISO 8601 format (e.g. 1970-01-01T00:00Z for UTC, or 1970:01:01T00:00-5:00 for New York on standard time).
type: string
$linkedData:
term: inspectionEnded
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/endDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
additionalProperties: false
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ properties:
type: string
$linkedData:
term: packingDate
'@id': https://schema.org/endDate
'@id': https://www.gs1.org/voc/packagingDate
'@type': http://www.w3.org/2001/XMLSchema#date
harvestDate:
title: Harvest Date
Expand All @@ -70,7 +70,7 @@ properties:
type: string
$linkedData:
term: harvestDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/harvestDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
bestByDate:
title: Best By Date
Expand All @@ -79,7 +79,7 @@ properties:
type: string
$linkedData:
term: bestByDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/bestBeforeDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
labelImageUrl:
title: Label Image URL
Expand Down
10 changes: 5 additions & 5 deletions docs/openapi/components/schemas/common/CBPEntrySummary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ properties:
type: string
$linkedData:
term: summaryDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/submissionDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
suretyCode:
title: Surety Code
Expand Down Expand Up @@ -87,7 +87,7 @@ properties:
type: string
$linkedData:
term: entryDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/jurisdictionEntryDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
importingCarrier:
title: Importing Carrier
Expand Down Expand Up @@ -117,7 +117,7 @@ properties:
type: string
$linkedData:
term: importDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/arrivalRelatedDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
billOfLadingNumber:
title: Bill of Lading Number
Expand Down Expand Up @@ -147,7 +147,7 @@ properties:
type: string
$linkedData:
term: exportDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/departureRelatedDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
immediateTransportationNumber:
title: Immediate Transportation Number
Expand All @@ -162,7 +162,7 @@ properties:
type: string
$linkedData:
term: immediateTransportationDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/actualOccurrenceDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
missingDocuments:
title: Missing Documents
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ properties:
type: string
$linkedData:
term: dateCompleted
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/creationDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
additionalData:
title: Additional Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ properties:
type: string
$linkedData:
term: harvestDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/harvestDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
coolingLocation:
title: Cooling location
description: Where the food was cooled.
Expand All @@ -54,7 +55,7 @@ properties:
type: string
$linkedData:
term: coolingDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/actualOccurrenceDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
packingLocation:
title: Packing Location
Expand All @@ -69,7 +70,7 @@ properties:
type: string
$linkedData:
term: packingDate
'@id': https://schema.org/endDate
'@id': https://www.gs1.org/voc/packagingDate
'@type': http://www.w3.org/2001/XMLSchema#dateTime
additionalData:
title: Additional Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ properties:
type: string
$linkedData:
term: dateReceived
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/receivedDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
additionalData:
title: Additional Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ properties:
type: string
$linkedData:
term: dateCompleted
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/occurrenceDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
additionalData:
title: Additional Data
Expand Down
4 changes: 2 additions & 2 deletions docs/openapi/components/schemas/common/Phytosanitary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ properties:
type: string
$linkedData:
term: signatureDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/signedDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
facility:
title: Facility
Expand Down Expand Up @@ -162,7 +162,7 @@ properties:
type: string
$linkedData:
term: inspectionDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/inspectionDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
inspectionType:
title: Inspection Type
Expand Down
4 changes: 2 additions & 2 deletions docs/openapi/components/schemas/common/SeaCargoManifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ properties:
type: string
$linkedData:
term: plannedDepartureDateTime
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/scheduledDepartureRelatedDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
plannedArrivalDateTime:
title: Planned Arrival Date and Time
description: The planned date and time of arrival.
type: string
$linkedData:
term: plannedArrivalDateTime
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/scheduledArrivalRelatedDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
portOfDeparture:
title: Port of Departure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ properties:
type: string
$linkedData:
term: inspectionDate
'@id': https://vocabulary.uncefact.org/performanceDateTime
'@id': https://vocabulary.uncefact.org/inspectionDateTime
inspectionPoint:
title: Point of Inspection
description: The location at which the inspection occurs.
Expand Down Expand Up @@ -307,4 +307,4 @@ example: |-
"faxNumber": "+1-850-555-1282"
},
"signatureDate": "2021-05-09"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ properties:
type: string
$linkedData:
term: inspectionDate
'@id': https://schema.org/endDate
'@id': https://vocabulary.uncefact.org/inspectionDateTime
'@type': http://www.w3.org/2001/XMLSchema#date
intendedUse:
title: Intended Use
Expand Down
Loading