From 113461a4da4cf9a2bc600f8f69767edfdeff4375 Mon Sep 17 00:00:00 2001 From: Brent Zundel Date: Fri, 13 Sep 2024 15:28:48 -0600 Subject: [PATCH] fix up creds Signed-off-by: Brent Zundel --- .../AgricultureActivityCredential.yml | 6 ++- .../credentials/PhytosanitaryCredential.yml | 50 ++++++++++++++----- 2 files changed, 41 insertions(+), 15 deletions(-) diff --git a/docs/openapi/components/schemas/credentials/AgricultureActivityCredential.yml b/docs/openapi/components/schemas/credentials/AgricultureActivityCredential.yml index e82e710b3..8081e5351 100644 --- a/docs/openapi/components/schemas/credentials/AgricultureActivityCredential.yml +++ b/docs/openapi/components/schemas/credentials/AgricultureActivityCredential.yml @@ -108,7 +108,9 @@ example: |- "credentialSubject": { "agActivities": [ { - "type": ["AgricultureActivity"], + "type": [ + "AgricultureActivity" + ], "farm": { "type": [ "Person" @@ -277,4 +279,4 @@ example: |- } ] } - } + } \ No newline at end of file diff --git a/docs/openapi/components/schemas/credentials/PhytosanitaryCredential.yml b/docs/openapi/components/schemas/credentials/PhytosanitaryCredential.yml index 5cc91eb67..a09406700 100644 --- a/docs/openapi/components/schemas/credentials/PhytosanitaryCredential.yml +++ b/docs/openapi/components/schemas/credentials/PhytosanitaryCredential.yml @@ -103,7 +103,9 @@ example: |- "issuanceDate": "2022-01-13T09:16:46Z", "expirationDate": "2122-01-13T09:16:46Z", "credentialSubject": { - "type": ["Phytosanitary"], + "type": [ + "Phytosanitary" + ], "facility": { "type": [ "Place" @@ -155,12 +157,16 @@ example: |- }, "qualification": [ { - "type": ["Qualification"], + "type": [ + "Qualification" + ], "qualificationCategory": "International Markets Consultant", "qualificationValue": "Planner" }, { - "type": ["Qualification"], + "type": [ + "Qualification" + ], "qualificationCategory": "Central Operations Developer", "qualificationValue": "Developer" } @@ -264,14 +270,18 @@ example: |- } ], "shipper": { - "type": ["Organization"], + "type": [ + "Organization" + ], "name": "Green Fields", "description": "Growing & packaging for high quality produce", "email": "sales@greenfields.org", "phoneNumber": "+1-420-555-6663" }, "purchaser": { - "type": ["Organization"], + "type": [ + "Organization" + ], "name": "Ace Foodstuffs", "description": "Agricultural goods shipping & distribution", "email": "Hipolito58@acefoodstuffs.org", @@ -286,13 +296,17 @@ example: |- "phoneNumber": "+1-885-555-8926" }, "broker": { - "type": ["Organization"], + "type": [ + "Organization" + ], "name": "Koch LLC", "leiCode": "54321351219389121979" } }, "applicant": { - "type": ["Organization"], + "type": [ + "Organization" + ], "name": "Example Application Organization", "email": "Talia.Abbott@example.net", "phoneNumber": "+1-812-555-8615" @@ -343,7 +357,9 @@ example: |- ], "certificateNumber": "330893782475", "plantOrg": { - "type": ["Organization"], + "type": [ + "Organization" + ], "name": "APHIS", "description": "Animal and Plant Health Inspection Service", "email": "Irwin_OConnell83@aphis.usda.gov", @@ -352,9 +368,13 @@ example: |- }, "distinguishingMarks": "Enim repudiandae excepturi rem.", "portOfEntry": { - "type": ["Place"], + "type": [ + "Place" + ], "address": { - "type": ["PostalAddress"], + "type": [ + "PostalAddress" + ], "addressLocality": "Mariannaton", "addressRegion": "Utah" } @@ -365,15 +385,19 @@ example: |- "disinfectionChemical": "Methyl Bromide", "disinfectionDuration": "79 minutes", "disinfectionTemperature": { - "type": ["MeasuredValue"], + "type": [ + "MeasuredValue" + ], "value": "2", "unitCode": "Celsius" }, "disinfectionConcentration": { - "type": ["MeasuredValue"], + "type": [ + "MeasuredValue" + ], "value": "21", "unitCode": "Percent" }, "signatureDate": "2021-03-12" } - } + } \ No newline at end of file