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

Update Syntax for credential Schema #768

Merged
merged 4 commits into from
May 10, 2023
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 @@ -139,7 +139,9 @@ properties:
description: The url of the schema file to validate the shape of the json object
type: string
format: uri
example: https://schema.example/Type.yml
example: https://w3id.org/traceability/openapi/components/schemas/credentials/AgricultureCanineCard.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/AgricultureCanineCard.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -202,4 +204,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..ps0daj_4Wc2ffd-sz0A623fA-hPGUrGC_eM73O60Epek4U_wr6shG1f7TmLcqtGK_tf3Ey77a09mSfekbY1QBA"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/BankAccountCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/BankAccountCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -133,4 +135,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..4D_1PyHmhl1-JI4oefkAKGrkkwOuEwOMo8pNUoEoJpfQkUH572n1IUEwHQst3c0fmB_SSIMnUPpBxkvy0seFCg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/BillOfLadingCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/BillOfLadingCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -498,4 +500,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..Ka2KFMbOhCfo-eHziXz5GBwLNah-16Z5Wl0nTt5V-a-RvvhKs_RmMJmp-2_X2MBAd9JSiz4jZlHJmJ65jvpdCA"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CBP3461EntryCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CBP3461EntryCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -244,4 +246,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..6KqL86VFGKwkj2ky4KeN8gIC3qkuHbr07gy3L_32aB3axN2_qWTkJYuMjl8SrHjIfLR5wIJCq7BD8eBR1VytBQ"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CBP7501EntrySummaryCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CBP7501EntrySummaryCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -289,4 +291,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..vBbpOVTwf3ZNdHZrhY_A8zlxNfdzBNI0CLvb2GJYXEjdgd0ZRzheZwYsNETttZl_rW0KocPCFVvf13jzIWl8AQ"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATCertificate.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATCertificate.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -196,4 +198,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..RkNrBFj1cnsSIVuYmrY8arQukdbkzFFDMge6x1lAt7r7Tzn0Dt2dk1OOOzfLzvXgFwvmVA0e72rp8GlGuQEcCw"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATEIPApplicationCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATEIPApplicationCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -110,4 +112,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..neXQi_ID8lg7FhXQEPxJGExv5JTg5dJVA8GuABW-pDKc9YU6wFipZU7opNfUzwytLmp8jQQGvwVnXCIQB373Dg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATEIPFulfillmentCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATEIPFulfillmentCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -103,4 +105,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..1JIydPAi-K51HGpSWNvSei4Fp6rjLpJcvCvnl4cd9U2TBatDSiwXtyDvXdk88qo_kGdN1TgMZtGOcKw-Y9laAQ"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATEIPMarketplaceCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATEIPMarketplaceCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -103,4 +105,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..x53slpT_Tqzbg1y5w06lmpqe5DlxiikuLahoGFHpY-urB2_FgGYoyxGjZ81HyzqsIui1cYRh4Nf3cWHdMkrSBg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATEIPSellerCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CTPATEIPSellerCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -103,4 +105,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..jq8YD8ae6EwAaQNttUh2sFAeSZe7gTfDYYv_kuU1Pq4aViFp-e1Uz3VGL7ZheVPSeq_ijCbv7xuWOmh1JHoTDw"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CertificationOfOrigin.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CertificationOfOrigin.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -153,4 +155,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..3l-lvGm1HzAaWKnn7M_JJu15lmqYSvba_NRHgdUo58ZskFdip7BnmSd8iAO3Y0mA5vMaDuCpfH9mnksNbiCpCg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/CommercialInvoiceCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/CommercialInvoiceCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -302,4 +304,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..QUU09R3V38BxNnZsPK0bftNj4NVWlWxJ7O4oQXkY_WBqrKlEeE71Sc3BObuxiV6YfeoA2glhUo17NZfbeRufDA"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/DCSAShippingInstructionCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/DCSAShippingInstructionCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -309,4 +311,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..H8MrcwmvNKz_ndZKwVT5HIirz8bd975OHZqs6zzuChkRD4pHzwjxOnF2GFUruouf5RdY4NEgmtS3ZpZi7JViAg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/DCSATransportDocumentCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/DCSATransportDocumentCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -378,4 +380,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..CvEJyyyIYMMq6DPJtv05roqTJR5m6Gzhftf-q5ILAqyjR6GvH36NOMVvpckTSjBggX5L8zFjAUCYSEMIb4fiAg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/DeMinimisShipmentCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/DeMinimisShipmentCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -212,4 +214,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..8N_FrqX0yVw7wp6V7OzjwPNGDCNO521FX7KdwF1pJurRG1rW-TdxDQ2cU2BmL8Vr6QVVQh8dGhFMM87zyya8CQ"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/EventCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/EventCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -148,4 +150,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..zxxS0U2j4iYy3R1g_fyaRiHDl8_eRQ3pkqSO6R3l3mcEZJPwM15DCK7q_SbNTwiWuu8GzmFuzngv83GF_9loDQ"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMACreatingCTECredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMACreatingCTECredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -220,4 +222,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..3hySDfqklHJUaPqQQ7LnkRvtZUIU4S9-UkPI07lyvrkj7vwEI6olMcHES_vlGpEQNgOWm487-5Gd3tS1djm1CA"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMAFirstReceiverDataCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMAFirstReceiverDataCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -189,4 +191,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..wOd_apGajP0RofrTatFN7Po1ypDzCgdeNZClXRsyeDa-u3Vt31IIDrF8MCMhCvflmdYfQcvIfCGdHt1e-sx1Ag"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMAGrowingCTECredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMAGrowingCTECredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -176,4 +178,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..cBT0tCWVHjNiisg3pOHoQ4YmdYuqoSa7Gsckbn8iLhtCEOPvG6NCvH_xiRay2rL3-Ovc1KaUrcM4r3e1wp7vDg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMAReceivingCTECredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMAReceivingCTECredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -311,4 +313,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..7vudSVyTs7bWmpUcnDaAjV4YKH3Un588AM7UfFYfRboh_cDjWsxtpM0lZC8Rv8gRDD-IrY0Us1Ei240WNiqYBw"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMAShippingCTECredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMAShippingCTECredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -320,4 +322,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..mcrJB1mnej4krTh1l05i-5K3xQt5TmvBKTejJOs80_LUJXDUOBtIaNq6VxzCd-_vcODY9wkmGlu0AXI5HbYqCQ"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMATransformingCTECredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/FSMATransformingCTECredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -308,4 +310,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..Yi0qgfbgrctazOvGy2Huyj_uIck_4eMdHVrEzZ9justfftAnZzjy9daAnLD6ZjelcGnmUkIGOCW2N937lQmEBg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/FoodDefenseInspectionCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/FoodDefenseInspectionCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -279,4 +281,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..rTd2x014fEuNBq_9L3I-uzUH8YrpY1ZxYkppvgNkHgvQI0coduw85beV_rE_i1rGvSSil_ow4HxnSvIvTTs6Dw"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ properties:
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/FreightManifestCredential.yml
default: https://w3id.org/traceability/openapi/components/schemas/credentials/FreightManifestCredential.yml
readonly: true
type:
title: Type
description: The type of validation to be run against the defined schema
Expand Down Expand Up @@ -474,4 +476,4 @@ example: |-
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..jzsGNDskXBzpDsb2BRiZhmcP9oGKFuAbh_M0JzMgvj-IPA4Px4Fqr_6xOYC9QEP66g5oisQ0Vk0HId207wJnCQ"
}
}
}
Loading