|
| 1 | +$linkedData: |
| 2 | + term: NaturalGasProducerEnvironmentalPassportCredential |
| 3 | + '@id': https://w3id.org/traceability#NaturalGasProducerEnvironmentalPassportCredential |
| 4 | +title: Natural Gas Producer Environmental Passport Credential |
| 5 | +tags: |
| 6 | + - Oil and Gas |
| 7 | +description: A credential that represents the environmental passport of a natural gas producer |
| 8 | +type: object |
| 9 | +properties: |
| 10 | + '@context': |
| 11 | + type: array |
| 12 | + readOnly: true |
| 13 | + const: |
| 14 | + - https://www.w3.org/2018/credentials/v1 |
| 15 | + - https://w3id.org/traceability/v1 |
| 16 | + default: |
| 17 | + - https://www.w3.org/2018/credentials/v1 |
| 18 | + - https://w3id.org/traceability/v1 |
| 19 | + items: |
| 20 | + type: string |
| 21 | + enum: |
| 22 | + - https://www.w3.org/2018/credentials/v1 |
| 23 | + - https://w3id.org/traceability/v1 |
| 24 | + type: |
| 25 | + type: array |
| 26 | + readOnly: true |
| 27 | + const: |
| 28 | + - VerifiableCredential |
| 29 | + - NaturalGasProducerEnvironmentalPassportCredential |
| 30 | + default: |
| 31 | + - VerifiableCredential |
| 32 | + - NaturalGasProducerEnvironmentalPassportCredential |
| 33 | + items: |
| 34 | + type: string |
| 35 | + enum: |
| 36 | + - VerifiableCredential |
| 37 | + - NaturalGasProducerEnvironmentalPassportCredential |
| 38 | + id: |
| 39 | + type: string |
| 40 | + format: uri |
| 41 | + issuanceDate: |
| 42 | + type: string |
| 43 | + format: date-time |
| 44 | + expirationDate: |
| 45 | + type: string |
| 46 | + format: date-time |
| 47 | + issuer: |
| 48 | + $ref: ../common/Organization.yml |
| 49 | + credentialSchema: |
| 50 | + type: object |
| 51 | + properties: |
| 52 | + id: |
| 53 | + title: Id |
| 54 | + description: The url of the schema file to validate the shape of the json object |
| 55 | + type: string |
| 56 | + format: uri |
| 57 | + example: https://w3id.org/traceability/openapi/components/schemas/credentials/NaturalGasProducerEnvironmentalPassportCredential.yml |
| 58 | + default: https://w3id.org/traceability/openapi/components/schemas/credentials/NaturalGasProducerEnvironmentalPassportCredential.yml |
| 59 | + readOnly: true |
| 60 | + type: |
| 61 | + title: Type |
| 62 | + description: The type of validation to be run against the defined schema |
| 63 | + const: OpenApiSpecificationValidator2022 |
| 64 | + credentialSubject: |
| 65 | + title: Natural Gas Producer Environmental Passport Credential |
| 66 | + description: A credential that represents the environmental passport of a natural gas producer |
| 67 | + type: object |
| 68 | + properties: |
| 69 | + organization: |
| 70 | + type: object |
| 71 | + title: Organization |
| 72 | + description: the organization the passport is issued to |
| 73 | + properties: |
| 74 | + legalName: |
| 75 | + type: string |
| 76 | + title: Organization Legal Name |
| 77 | + description: Legal name of the Organization |
| 78 | + dailyVolumeProduced: |
| 79 | + type: string |
| 80 | + title: Daily volume produced |
| 81 | + description: Daily volume of Natural Gas produced in MMcf/d (Millions of cubic feet per day) |
| 82 | + productionLocation: |
| 83 | + type: object |
| 84 | + description: the location of the production site |
| 85 | + $ref: ../common/Place.yml |
| 86 | + productionPhase: |
| 87 | + type: string |
| 88 | + enum: |
| 89 | + - Active |
| 90 | + - Inactive |
| 91 | + - In development |
| 92 | + required: |
| 93 | + - legalName |
| 94 | + - dailyVolumeProduced |
| 95 | + - productionLocation |
| 96 | + - productionPhase |
| 97 | + certifications: |
| 98 | + title: Certifications |
| 99 | + type: array |
| 100 | + items: |
| 101 | + type: object |
| 102 | + properties: |
| 103 | + certificationPeriod: |
| 104 | + type: string |
| 105 | + format: date-time |
| 106 | + title: Certification Period |
| 107 | + description: the validity period of the certification |
| 108 | + certificateIssuer: |
| 109 | + type: string |
| 110 | + title: Certificate Issuer |
| 111 | + description: issuer of the certificate |
| 112 | + certificateIdentifier: |
| 113 | + type: string |
| 114 | + title: CertificateIdentifier |
| 115 | + description: the identifier of the certificate |
| 116 | + certificationStandard: |
| 117 | + type: string |
| 118 | + title: CertificationStardard |
| 119 | + description: the standard for the certification. |
| 120 | + assessmentBody: |
| 121 | + type: string |
| 122 | + title: Assessment Body |
| 123 | + description: The entity that conducts the assessment for the certification |
| 124 | + observations: |
| 125 | + title: Observations |
| 126 | + description: >- |
| 127 | + List of observations |
| 128 | + type: array |
| 129 | + items: |
| 130 | + $ref: ../common/Observation.yml |
| 131 | + required: |
| 132 | + - certificationPeriod |
| 133 | + - certificateIssuer |
| 134 | + - certificateIdentifier |
| 135 | + - certificationStandard |
| 136 | + - observations |
| 137 | + proof: |
| 138 | + $ref: ../snippets/proof.yml |
| 139 | +additionalProperties: false |
| 140 | +required: |
| 141 | + - '@context' |
| 142 | + - type |
| 143 | + - id |
| 144 | + - issuanceDate |
| 145 | + - issuer |
| 146 | + - credentialSubject |
| 147 | +example: |- |
| 148 | + { |
| 149 | + "@context": [ |
| 150 | + "https://www.w3.org/2018/credentials/v1", |
| 151 | + "https://w3id.org/traceability/v1" |
| 152 | + ], |
| 153 | + "id": "http://example.com/dd0c6f9a-5df6-40a3-bb34-863cd1fda606", |
| 154 | + "type": [ |
| 155 | + "VerifiableCredential", |
| 156 | + "NaturalGasProducerEnvironmentalPassportCredential" |
| 157 | + ], |
| 158 | + "issuer": { |
| 159 | + "type": [ |
| 160 | + "Organization" |
| 161 | + ], |
| 162 | + "id": "did:web:organization.example.com" |
| 163 | + }, |
| 164 | + "issuanceDate": "2022-11-01T10:58:45-04:00", |
| 165 | + "credentialSubject": { |
| 166 | + "organization": { |
| 167 | + "legalName": "Example Company", |
| 168 | + "dailyVolumeProduced": "200", |
| 169 | + "productionLocation": { |
| 170 | + "type": [ |
| 171 | + "Place" |
| 172 | + ], |
| 173 | + "globalLocationNumber": "1111111111111", |
| 174 | + "geo": { |
| 175 | + "type": [ |
| 176 | + "GeoCoordinates" |
| 177 | + ], |
| 178 | + "latitude": "-79.6395", |
| 179 | + "longitude": "178.5353" |
| 180 | + }, |
| 181 | + "address": { |
| 182 | + "type": [ |
| 183 | + "PostalAddress" |
| 184 | + ], |
| 185 | + "name": "Example Production Location", |
| 186 | + "streetAddress": "100 main street", |
| 187 | + "addressLocality": "Example locality", |
| 188 | + "addressRegion": "Example Region", |
| 189 | + "postalCode": "1X2Y3Z", |
| 190 | + "addressCountry": "CA" |
| 191 | + }, |
| 192 | + "unLocode": "DKCPH" |
| 193 | + }, |
| 194 | + "productionPhase": "Active" |
| 195 | + }, |
| 196 | + "certifications": [ |
| 197 | + { |
| 198 | + "certificationPeriod": "2019-12-11T03:50:55Z", |
| 199 | + "certificateIssuer": "MiQ", |
| 200 | + "certificateIdentifier": "123456", |
| 201 | + "certificationStandard": "MiQ", |
| 202 | + "assessmentBody": "Example Body", |
| 203 | + "observations": [ |
| 204 | + { |
| 205 | + "type": [ |
| 206 | + "Observation" |
| 207 | + ], |
| 208 | + "date": "2019-12-11T03:50:55Z", |
| 209 | + "property": { |
| 210 | + "type": [ |
| 211 | + "ChemicalProperty" |
| 212 | + ], |
| 213 | + "name": "Methane Intensity" |
| 214 | + }, |
| 215 | + "measurement": { |
| 216 | + "type": [ |
| 217 | + "MeasuredValue" |
| 218 | + ], |
| 219 | + "value": "00.00", |
| 220 | + "unitCode": "UNKNOWN" |
| 221 | + } |
| 222 | + } |
| 223 | + ] |
| 224 | + } |
| 225 | + ] |
| 226 | + } |
| 227 | + } |
0 commit comments