Skip to content

Commit c3da2dd

Browse files
authored
docs: add examples on json schemas (#5490)
1 parent 82647cb commit c3da2dd

6 files changed

Lines changed: 14 additions & 9 deletions

File tree

extensions/common/api/management-api-configuration/src/main/resources/management-api-version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"version": "4.0.0-beta",
1010
"urlPath": "/v4beta",
11-
"lastUpdated": "2026-01-12T17:43:01Z",
11+
"lastUpdated": "2026-02-05T17:43:01Z",
1212
"maturity": "beta"
1313
}
1414
]

extensions/common/api/management-api-schema-validator/src/main/resources/schema/management/v4/asset-schema.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
2323
"type": "string"
2424
},
2525
"properties": {
26-
"type": "object"
26+
"type": "object",
27+
"example": { "key": "value" }
2728
},
2829
"privateProperties": {
29-
"type": "object"
30+
"type": "object",
31+
"example": { "privateKey": "privateValue" }
3032
},
3133
"dataAddress": {
3234
"$ref": "https://w3id.org/edc/connector/management/schema/v4/data-address-schema.json"

extensions/common/api/management-api-schema-validator/src/main/resources/schema/management/v4/data-address-schema.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
},
1919
"type": {
2020
"type": "string"
21-
}
21+
},
22+
"example": { "type": "type" }
2223
},
2324
"required": [
2425
"@type",
@@ -45,4 +46,4 @@
4546
]
4647
}
4748
}
48-
}
49+
}

extensions/common/api/management-api-schema-validator/src/main/resources/schema/management/v4/dataplane-metadata-schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
}
2424
},
2525
"properties": {
26-
"type": "object"
26+
"type": "object",
27+
"example": { "key": "value" }
2728
}
2829
}
2930
}

extensions/common/api/management-api-schema-validator/src/main/resources/schema/management/v4/policy-definition-schema.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"$ref": "https://w3id.org/edc/connector/management/schema/v4/policy-definition-schema.json#/definitions/PolicyClass"
2727
},
2828
"privateProperties": {
29-
"type": "object"
29+
"type": "object",
30+
"example": { "privateKey": "privateValue" }
3031
}
3132
},
3233
"required": [
@@ -82,4 +83,4 @@
8283
]
8384
}
8485
}
85-
}
86+
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,6 @@ dsp-core = { module = "org.eclipse.dataspacetck.dsp:core", version.ref = "dcp-tc
130130
jackson = ["jackson-annotations", "jackson-databind"]
131131

132132
[plugins]
133-
edc-build = { id = "org.eclipse.edc.edc-build", version = "1.1.5" }
133+
edc-build = { id = "org.eclipse.edc.edc-build", version = "1.1.6" }
134134
shadow = { id = "com.gradleup.shadow", version = "9.3.1" }
135135
swagger = { id = "io.swagger.core.v3.swagger-gradle-plugin", version.ref = "swagger" }

0 commit comments

Comments
 (0)