From 47fe8b352b9dd7cc3e58cac1a6facbe2da79510e Mon Sep 17 00:00:00 2001
From: Fabian Steeg
Date: Thu, 11 Apr 2024 11:38:26 +0200
Subject: [PATCH 1/3] Unify naming to camelCase convention (#150)
While snake_case took over in the draft, camelCase is the common
convention in the manifest, so this seems to be the sensible choice
---
.../valid/example-full.json | 8 +++---
.../manifest/invalid/feature-view.json | 2 +-
.../slub-invalid-property-setting.json | 8 +++---
.../examples/manifest/valid/feature-view.json | 2 +-
draft/examples/manifest/valid/lobid-gnd.json | 8 +++---
draft/examples/manifest/valid/wikidata.json | 12 ++++----
.../invalid/multiple-types.json | 2 +-
.../invalid/no-root-object.json | 4 +--
.../valid/example-full.json | 28 +++++++++----------
.../valid/example-min.json | 4 +--
.../valid/multi-values.json | 4 +--
.../valid/no-query-string.json | 4 +--
.../valid/text-processing-language.json | 6 ++--
.../valid/example.json | 4 +--
draft/index.html | 24 ++++++++--------
draft/schemas/manifest.json | 14 +++++-----
draft/schemas/reconciliation-query-batch.json | 10 +++----
.../schemas/suggest-properties-response.json | 8 +++---
18 files changed, 76 insertions(+), 76 deletions(-)
diff --git a/draft/examples/data-extension-metadata/valid/example-full.json b/draft/examples/data-extension-metadata/valid/example-full.json
index d26b763..3763021 100644
--- a/draft/examples/data-extension-metadata/valid/example-full.json
+++ b/draft/examples/data-extension-metadata/valid/example-full.json
@@ -1,22 +1,22 @@
{
- "propose_properties": {
+ "proposeProperties": {
"service_url": "https://lobid.org",
"service_path": "/gnd/reconcile/properties"
},
- "property_settings": [
+ "propertySettings": [
{
"name": "limit",
"label": "Limit",
"type": "number",
"default": 0,
- "help_text": "Maximum number of values to return per row (0 for no limit)"
+ "helpText": "Maximum number of values to return per row (0 for no limit)"
},
{
"name": "content",
"label": "Content",
"type": "select",
"default": "literal",
- "help_text": "Content type: ID or literal",
+ "helpText": "Content type: ID or literal",
"choices": [
{
"value": "id",
diff --git a/draft/examples/manifest/invalid/feature-view.json b/draft/examples/manifest/invalid/feature-view.json
index 7166c6e..bab29f7 100644
--- a/draft/examples/manifest/invalid/feature-view.json
+++ b/draft/examples/manifest/invalid/feature-view.json
@@ -3,7 +3,7 @@
"view": {
"url": "https://viaf.org/viaf/{id}"
},
- "feature_view": {
+ "featureView": {
"url": "https://vocab.getty.edu/recon/features/"
}
}
diff --git a/draft/examples/manifest/invalid/slub-invalid-property-setting.json b/draft/examples/manifest/invalid/slub-invalid-property-setting.json
index 23d1648..a51a864 100644
--- a/draft/examples/manifest/invalid/slub-invalid-property-setting.json
+++ b/draft/examples/manifest/invalid/slub-invalid-property-setting.json
@@ -38,23 +38,23 @@
}
],
"extend": {
- "property_settings": [
+ "propertySettings": [
{
"default": 10,
- "help_text": "Maximum number of values to return per row (maximum: 1000)",
+ "helpText": "Maximum number of values to return per row (maximum: 1000)",
"label": "Limit",
"name": "limit",
"type": "number"
},
{
"default": "geo,organizations,slub-resources,persons,events,topics,works, ",
- "help_text": "Which Entity-Type to use, allwed values: http://schema.org/CreativeWork, http://schema.org/Work, http://schema.org/Event, http://schema.org/Place, http://schema.org/Person, http://schema.org/Book, http://schema.org/Organization, http://schema.org/Topic, http://schema.org/CreativeWorkSeries",
+ "helpText": "Which Entity-Type to use, allwed values: http://schema.org/CreativeWork, http://schema.org/Work, http://schema.org/Event, http://schema.org/Place, http://schema.org/Person, http://schema.org/Book, http://schema.org/Organization, http://schema.org/Topic, http://schema.org/CreativeWorkSeries",
"label": "Typ",
"name": "type",
"type": "string"
}
],
- "propose_properties": {
+ "proposeProperties": {
"service_path": "/reconcile/properties",
"service_url": "http://data.slub-dresden.de"
}
diff --git a/draft/examples/manifest/valid/feature-view.json b/draft/examples/manifest/valid/feature-view.json
index fa43b45..9c8309b 100644
--- a/draft/examples/manifest/valid/feature-view.json
+++ b/draft/examples/manifest/valid/feature-view.json
@@ -4,7 +4,7 @@
"view": {
"url": "https://viaf.org/viaf/{id}"
},
- "feature_view": {
+ "featureView": {
"url": "https://vocab.getty.edu/recon/features/{id}"
}
}
diff --git a/draft/examples/manifest/valid/lobid-gnd.json b/draft/examples/manifest/valid/lobid-gnd.json
index 82154f5..6dc9f5f 100644
--- a/draft/examples/manifest/valid/lobid-gnd.json
+++ b/draft/examples/manifest/valid/lobid-gnd.json
@@ -49,20 +49,20 @@
"width": 320
},
"extend": {
- "property_settings": [
+ "propertySettings": [
{
"name": "limit",
"label": "Limit",
"type": "number",
"default": 0,
- "help_text": "Maximum number of values to return per row (0 for no limit)"
+ "helpText": "Maximum number of values to return per row (0 for no limit)"
},
{
"name": "content",
"label": "Content",
"type": "select",
"default": "literal",
- "help_text": "Content type: ID or literal",
+ "helpText": "Content type: ID or literal",
"choices": [
{
"value": "id",
@@ -75,7 +75,7 @@
]
}
],
- "propose_properties": true
+ "proposeProperties": true
},
"suggest": {
"property": true,
diff --git a/draft/examples/manifest/valid/wikidata.json b/draft/examples/manifest/valid/wikidata.json
index 536c05b..02b59d3 100644
--- a/draft/examples/manifest/valid/wikidata.json
+++ b/draft/examples/manifest/valid/wikidata.json
@@ -9,11 +9,11 @@
"logo": "https://tools.wmflabs.org/openrefine-wikidata/logo.png",
"serviceVersion": "1.2.3",
"extend": {
- "property_settings": [
+ "propertySettings": [
{
"name": "limit",
"label": "Limit",
- "help_text": "Maximum number of values to return per row (0 for no limit)",
+ "helpText": "Maximum number of values to return per row (0 for no limit)",
"type": "number",
"default": 0
},
@@ -21,7 +21,7 @@
"name": "rank",
"label": "Ranks",
"type": "select",
- "help_text": "Filter statements by rank",
+ "helpText": "Filter statements by rank",
"choices": [
{
"name": "Any rank",
@@ -42,7 +42,7 @@
"name": "references",
"label": "References",
"type": "select",
- "help_text": "Filter statements by their references",
+ "helpText": "Filter statements by their references",
"choices": [
{
"name": "Any statement",
@@ -62,12 +62,12 @@
{
"name": "count",
"label": "Return counts instead of values",
- "help_text": "The number of values will be returned.",
+ "helpText": "The number of values will be returned.",
"type": "checkbox",
"default": false
}
],
- "propose_properties": true
+ "proposeProperties": true
},
"defaultTypes": [
{
diff --git a/draft/examples/reconciliation-query-batch/invalid/multiple-types.json b/draft/examples/reconciliation-query-batch/invalid/multiple-types.json
index d2f3fb7..7b94166 100644
--- a/draft/examples/reconciliation-query-batch/invalid/multiple-types.json
+++ b/draft/examples/reconciliation-query-batch/invalid/multiple-types.json
@@ -3,7 +3,7 @@
{
"conditions": [
{
- "match_type": "name",
+ "matchType": "name",
"v": "Christel Hanewinckel"
}
],
diff --git a/draft/examples/reconciliation-query-batch/invalid/no-root-object.json b/draft/examples/reconciliation-query-batch/invalid/no-root-object.json
index 143d568..d5ae45f 100644
--- a/draft/examples/reconciliation-query-batch/invalid/no-root-object.json
+++ b/draft/examples/reconciliation-query-batch/invalid/no-root-object.json
@@ -2,7 +2,7 @@
{
"conditions": [
{
- "match_type": "property",
+ "matchType": "property",
"pid": "uid",
"v": "27eb892afbb2"
}
@@ -11,7 +11,7 @@
{
"conditions": [
{
- "match_type": "property",
+ "matchType": "property",
"pid": "uid",
"v": "ab09da9dd37e"
}
diff --git a/draft/examples/reconciliation-query-batch/valid/example-full.json b/draft/examples/reconciliation-query-batch/valid/example-full.json
index 6c61a09..7827095 100644
--- a/draft/examples/reconciliation-query-batch/valid/example-full.json
+++ b/draft/examples/reconciliation-query-batch/valid/example-full.json
@@ -5,24 +5,24 @@
"limit": 5,
"conditions": [
{
- "match_type": "name",
+ "matchType": "name",
"v": "Christel Hanewinckel"
},
{
- "match_type": "property",
+ "matchType": "property",
"pid": "professionOrOccupation",
"v": "Politik*",
"required": false,
- "match_quantifier": "any",
- "match_qualifier": "WildcardMatch"
+ "matchQuantifier": "any",
+ "matchQualifier": "WildcardMatch"
},
{
- "match_type": "property",
+ "matchType": "property",
"pid": "affiliation",
"v": "http://d-nb.info/gnd/2022139-3",
"required": false,
- "match_quantifier": "any",
- "match_qualifier": "ExactMatch"
+ "matchQuantifier": "any",
+ "matchQualifier": "ExactMatch"
}
]
},
@@ -31,24 +31,24 @@
"limit": 5,
"conditions": [
{
- "match_type": "name",
+ "matchType": "name",
"v": "Franz Thönnes"
},
{
- "match_type": "property",
+ "matchType": "property",
"pid": "professionOrOccupation",
"v": "Politik*",
"required": false,
- "match_quantifier": "any",
- "match_qualifier": "WildcardMatch"
+ "matchQuantifier": "any",
+ "matchQualifier": "WildcardMatch"
},
{
- "match_type": "property",
+ "matchType": "property",
"pid": "affiliation",
"v": "http://d-nb.info/gnd/2022139-3",
"required": false,
- "match_quantifier": "any",
- "match_qualifier": "ExactMatch"
+ "matchQuantifier": "any",
+ "matchQualifier": "ExactMatch"
}
]
}
diff --git a/draft/examples/reconciliation-query-batch/valid/example-min.json b/draft/examples/reconciliation-query-batch/valid/example-min.json
index 8d5d776..0dff82f 100644
--- a/draft/examples/reconciliation-query-batch/valid/example-min.json
+++ b/draft/examples/reconciliation-query-batch/valid/example-min.json
@@ -3,7 +3,7 @@
{
"conditions": [
{
- "match_type": "name",
+ "matchType": "name",
"v": "Hans-Eberhard Urbaniak"
}
]
@@ -11,7 +11,7 @@
{
"conditions": [
{
- "match_type": "name",
+ "matchType": "name",
"v": "Ernst Schwanhold"
}
]
diff --git a/draft/examples/reconciliation-query-batch/valid/multi-values.json b/draft/examples/reconciliation-query-batch/valid/multi-values.json
index f4ba3b2..c0acdbf 100644
--- a/draft/examples/reconciliation-query-batch/valid/multi-values.json
+++ b/draft/examples/reconciliation-query-batch/valid/multi-values.json
@@ -5,11 +5,11 @@
"limit": 5,
"conditions": [
{
- "match_type": "name",
+ "matchType": "name",
"v": "Christel Hanewinckel"
},
{
- "match_type": "property",
+ "matchType": "property",
"pid": "professionOrOccupation",
"v": [
"Politik*",
diff --git a/draft/examples/reconciliation-query-batch/valid/no-query-string.json b/draft/examples/reconciliation-query-batch/valid/no-query-string.json
index ee78785..daae16d 100644
--- a/draft/examples/reconciliation-query-batch/valid/no-query-string.json
+++ b/draft/examples/reconciliation-query-batch/valid/no-query-string.json
@@ -3,7 +3,7 @@
{
"conditions": [
{
- "match_type": "property",
+ "matchType": "property",
"pid": "uid",
"v": "27eb892afbb2"
}
@@ -12,7 +12,7 @@
{
"conditions": [
{
- "match_type": "property",
+ "matchType": "property",
"pid": "uid",
"v": "ab09da9dd37e"
}
diff --git a/draft/examples/reconciliation-query-batch/valid/text-processing-language.json b/draft/examples/reconciliation-query-batch/valid/text-processing-language.json
index dda0f9b..27fbea1 100644
--- a/draft/examples/reconciliation-query-batch/valid/text-processing-language.json
+++ b/draft/examples/reconciliation-query-batch/valid/text-processing-language.json
@@ -4,16 +4,16 @@
"lang": "en",
"conditions": [
{
- "match_type": "name",
+ "matchType": "name",
"v": "Deng Shuping"
},
{
- "match_type": "property",
+ "matchType": "property",
"pid": "professionOrOccupation",
"v": "art historian"
},
{
- "match_type": "property",
+ "matchType": "property",
"pid": "variantName",
"v": "鄧淑蘋",
"lang": "zh-Hant"
diff --git a/draft/examples/suggest-properties-response/valid/example.json b/draft/examples/suggest-properties-response/valid/example.json
index b093ac8..834393e 100644
--- a/draft/examples/suggest-properties-response/valid/example.json
+++ b/draft/examples/suggest-properties-response/valid/example.json
@@ -4,7 +4,7 @@
"name": "coordinate location",
"description": "geocoordinates of the subject. For Earth, please note that only WGS84 coordinating system is supported at the moment",
"id": "P625",
- "match_qualifiers": [
+ "matchQualifiers": [
{"id": "ExactMatch", "name": "Exact match of the coordinates"},
{"id": "DecimalPlaces-N", "name": "Match the coordinates with a precision of N decimal places"}
]
@@ -13,7 +13,7 @@
"name": "place of birth",
"description": "most specific known (e.g. city instead of country, or hospital instead of city) birth location of a person, animal or fictional character",
"id": "P19",
- "match_qualifiers": [
+ "matchQualifiers": [
{"id": "schema:containsPlace", "name": "Containment relation between a place and another that it contains"},
{"id": "schema:containedInPlace", "name": "Containment relation between a place and another that contains it"}
]
diff --git a/draft/index.html b/draft/index.html
index 28aa6ff..e0a0b82 100644
--- a/draft/index.html
+++ b/draft/index.html
@@ -358,7 +358,7 @@ Service Manifest
An optional string which describes the version of the software exposing this service. This is not to be confused with versions
which is about the versions of the reconciliation API supported by the service;
view
An object which contains a single field url
. Its value is a URI template for entities;
- feature_view
+ featureView
An optional object which contains a single field url
. Its value is a URI template for matching features;
preview
A preview metadata object, supplied if the service offers a preview service;
@@ -500,24 +500,24 @@ Structure of a Reconciliation Query
It is used to filter the set of candidates (similar to a WHERE clause in SQL),
by allowing clients to specify an attribute of entities that should match. It consists of:
- match_type
+ matchType
- Either
name
or property
, depending on whether the condition relates to entity names or their properties.
pid
- - A property identifier, to be provided if and only if the
match_type
is property
.
+ - A property identifier, to be provided if and only if the
matchType
is property
.
v
- - one or more property values. If
match_type
is name
, then this value is to
+ - one or more property values. If
matchType
is name
, then this value is to
be matched to entity names, otherwise to the property values via the supplied pid
. The specifics of how this similarity
is defined are determined by the service.
required
- An optional boolean indicating if a match for the property is required for an entity to enter the list of candidates (i.e. acting like a filter or a WHERE clause in SQL)
or optional (i.e. only effecting the entity's rank in the list of candidates);
- match_quantifier
+ matchQuantifier
- An optional string to indicate which of the values in
v
to match. MUST be any
(equivalent to boolean OR), all
(equivalent to boolean AND), or none
(equivalent to boolean NOT);
- match_qualifier
+ matchQualifier
- An optional string to indicate how to match the values in
v
.
This can be used for general matching relations like "skos:exactMatch", "skos:closeMatch", etc. or for specific features like spatial matching with geo data
(e.g. containment search with "schema:containsPlace" etc.) or custom matching on date fields (e.g. services supporting the [[EDTF]] specification could use "EDTF:Level-0" etc.
- To allow discovery of supported qualifiers by clients, services that support match_qualifier
MUST return the supported match_qualifiers
for each property
+ To allow discovery of supported qualifiers by clients, services that support matchQualifier
MUST return the supported matchQualifiers
for each property
in their property suggest responses.
@@ -739,8 +739,8 @@ Suggest Responses
An optional description which can be provided to disambiguate namesakes, providing more context. This could for instance be displayed underneath the name
;
notable
When suggesting entities only, this field can be used to supply some important types (not necessarily all types) of the suggested entity. The value must be an array of either type identifiers (as strings) or type objects, containing an id
and name
field which represent the type.
- match_qualifiers
- When suggesting properties only, an optional array of objects, each containing an id
and name
field, which represent the property's match_qualifiers
supported in reconciliation queries.
+ matchQualifiers
+ When suggesting properties only, an optional array of objects, each containing an id
and name
field, which represent the property's matchQualifiers
supported in reconciliation queries.
@@ -796,9 +796,9 @@ Data Extension Metadata
The data extension metadata is an object stored in the service manifest in the extend
field. It consists of the following settings, all optional:
- propose_properties
+ proposeProperties
- A boolean indicating if the service supports data extension property proposal;
- property_settings
+ propertySettings
- An array of data extension property settings.
@@ -813,7 +813,7 @@ Data Extension Metadata
A data type, which can be one of the strings "number"
, "text"
, "checkbox"
, or "select"
. This determines which type of value the property setting gis expected to store: clients SHOULD render this setting with the corresponding HTML element;
default
A default value for the setting, when not provided or left untouched by the user;
- help_text
+ helpText
A help text, which describes the meaning of the field to the user. This is meant to be a short string that can be displayed alongside the corresponding form field;
choices
If type
is select
, an array of property setting choices.
diff --git a/draft/schemas/manifest.json b/draft/schemas/manifest.json
index 934410a..4a8e4f8 100644
--- a/draft/schemas/manifest.json
+++ b/draft/schemas/manifest.json
@@ -46,7 +46,7 @@
"url"
]
},
- "feature_view": {
+ "featureView": {
"type": "object",
"properties": {
"url": {
@@ -106,11 +106,11 @@
"type": "object",
"description": "Settings for the data extension protocol, to fetch property values",
"properties": {
- "propose_properties": {
+ "proposeProperties": {
"type": "boolean",
"description": "Whether the service supports property proposals"
},
- "property_settings": {
+ "propertySettings": {
"type": "array",
"description": "Definition of the settings configurable by the user when fetching a property",
"items": {
@@ -134,7 +134,7 @@
"name": {
"type": "string"
},
- "help_text": {
+ "helpText": {
"type": "string"
}
},
@@ -163,7 +163,7 @@
"name": {
"type": "string"
},
- "help_text": {
+ "helpText": {
"type": "string"
}
},
@@ -192,7 +192,7 @@
"name": {
"type": "string"
},
- "help_text": {
+ "helpText": {
"type": "string"
}
},
@@ -221,7 +221,7 @@
"name": {
"type": "string"
},
- "help_text": {
+ "helpText": {
"type": "string"
},
"choices": {
diff --git a/draft/schemas/reconciliation-query-batch.json b/draft/schemas/reconciliation-query-batch.json
index 7bfe4ae..b7e4b37 100644
--- a/draft/schemas/reconciliation-query-batch.json
+++ b/draft/schemas/reconciliation-query-batch.json
@@ -62,7 +62,7 @@
"items": {
"type": "object",
"properties": {
- "match_type": {
+ "matchType": {
"type": "string",
"description": "A string to indicate whether to match the supplied value to entity names or property values",
"enum": [
@@ -72,7 +72,7 @@
},
"pid": {
"type": "string",
- "description": "The identifier of the property, whose values will be compared to the values supplied. Required if 'match_type' is 'property'."
+ "description": "The identifier of the property, whose values will be compared to the values supplied. Required if 'matchType' is 'property'."
},
"v": {
"description": "A value (or array of values) to match against the entity names or property values associated with the property on each candidate",
@@ -92,7 +92,7 @@
"type": "boolean",
"description": "A boolean indicating if a match of this condition is required for an entity to enter the list of candidates"
},
- "match_quantifier": {
+ "matchQuantifier": {
"type": "string",
"description": "A string to indicate which of the values in v to match",
"enum": [
@@ -101,13 +101,13 @@
"none"
]
},
- "match_qualifier": {
+ "matchQualifier": {
"type": "string",
"description": "A string to indicate how to match the values in v"
}
},
"required": [
- "match_type",
+ "matchType",
"v"
]
}
diff --git a/draft/schemas/suggest-properties-response.json b/draft/schemas/suggest-properties-response.json
index cd16f5c..2e02b01 100644
--- a/draft/schemas/suggest-properties-response.json
+++ b/draft/schemas/suggest-properties-response.json
@@ -21,19 +21,19 @@
"type": "string",
"description": "An optional description which can be provided to disambiguate namesakes, providing more context."
},
- "match_qualifiers": {
+ "matchQualifiers": {
"type": "array",
- "description": "An optional array of objects representing the match_qualifiers supported for the suggested property",
+ "description": "An optional array of objects representing the matchQualifiers supported for the suggested property",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
- "description": "Identifier of the match_qualifier"
+ "description": "Identifier of the matchQualifier"
},
"name": {
"type": "string",
- "description": "Name of the match_qualifier"
+ "description": "Name of the matchQualifier"
}
},
"required": [
From 9815d8e2c4f3ab43756c0d83f485569e2b2c1db0 Mon Sep 17 00:00:00 2001
From: Fabian Steeg
Date: Thu, 11 Apr 2024 11:56:46 +0200
Subject: [PATCH 2/3] Update draft examples and schemas for removed fields
Noticed while unifying naming for #150
---
.../data-extension-metadata/valid/example-full.json | 5 +----
draft/examples/manifest/invalid/opencorporates.json | 12 ++----------
.../manifest/invalid/ror-invalid-view-pattern.json | 6 +-----
.../invalid/slub-invalid-property-setting.json | 5 +----
.../invalid/misnamed-conditions.json | 6 ++----
draft/schemas/reconciliation-query-batch.json | 9 ---------
6 files changed, 7 insertions(+), 36 deletions(-)
diff --git a/draft/examples/data-extension-metadata/valid/example-full.json b/draft/examples/data-extension-metadata/valid/example-full.json
index 3763021..f72ad17 100644
--- a/draft/examples/data-extension-metadata/valid/example-full.json
+++ b/draft/examples/data-extension-metadata/valid/example-full.json
@@ -1,8 +1,5 @@
{
- "proposeProperties": {
- "service_url": "https://lobid.org",
- "service_path": "/gnd/reconcile/properties"
- },
+ "proposeProperties": true,
"propertySettings": [
{
"name": "limit",
diff --git a/draft/examples/manifest/invalid/opencorporates.json b/draft/examples/manifest/invalid/opencorporates.json
index 06a9946..8bed8f9 100644
--- a/draft/examples/manifest/invalid/opencorporates.json
+++ b/draft/examples/manifest/invalid/opencorporates.json
@@ -9,16 +9,8 @@
"height": 300
},
"suggest": {
- "entity": {
- "service_url": "https://opencorporates.com",
- "service_path": "/reconcile/suggest",
- "flyout_service_path": "/reconcile/flyout"
- },
- "property": {
- "service_url": "https://opencorporates.com",
- "service_path": "/reconcile/suggest/properties",
- "flyout_service_path": "/reconcile/flyout/properties"
- }
+ "entity": true,
+ "property": true
},
"defaultTypes": [
{
diff --git a/draft/examples/manifest/invalid/ror-invalid-view-pattern.json b/draft/examples/manifest/invalid/ror-invalid-view-pattern.json
index 1d75cb7..9dbaf66 100644
--- a/draft/examples/manifest/invalid/ror-invalid-view-pattern.json
+++ b/draft/examples/manifest/invalid/ror-invalid-view-pattern.json
@@ -10,11 +10,7 @@
"url": "https://reconcile.ror.org/reconcile"
},
"suggest": {
- "entity": {
- "flyout_service_path": "/flyout?id={id}",
- "service_path": "/suggest",
- "service_url": "https://reconcile.ror.org"
- }
+ "entity": true
},
"preview": {
"width": 400,
diff --git a/draft/examples/manifest/invalid/slub-invalid-property-setting.json b/draft/examples/manifest/invalid/slub-invalid-property-setting.json
index a51a864..fb50578 100644
--- a/draft/examples/manifest/invalid/slub-invalid-property-setting.json
+++ b/draft/examples/manifest/invalid/slub-invalid-property-setting.json
@@ -54,10 +54,7 @@
"type": "string"
}
],
- "proposeProperties": {
- "service_path": "/reconcile/properties",
- "service_url": "http://data.slub-dresden.de"
- }
+ "proposeProperties": true
},
"name": "SLUB LOD reconciliation for OpenRefine",
"preview": {
diff --git a/draft/examples/reconciliation-query-batch/invalid/misnamed-conditions.json b/draft/examples/reconciliation-query-batch/invalid/misnamed-conditions.json
index f51e78e..534b72c 100644
--- a/draft/examples/reconciliation-query-batch/invalid/misnamed-conditions.json
+++ b/draft/examples/reconciliation-query-batch/invalid/misnamed-conditions.json
@@ -15,8 +15,7 @@
"pid": "affiliation",
"v": "http://d-nb.info/gnd/2022139-3"
}
- ],
- "type_strict": "should"
+ ]
},
{
"type": "DifferentiatedPerson",
@@ -33,8 +32,7 @@
"pid": "affiliation",
"v": "http://d-nb.info/gnd/2022139-3"
}
- ],
- "type_strict": "should"
+ ]
}
]
}
diff --git a/draft/schemas/reconciliation-query-batch.json b/draft/schemas/reconciliation-query-batch.json
index b7e4b37..ad8c7a8 100644
--- a/draft/schemas/reconciliation-query-batch.json
+++ b/draft/schemas/reconciliation-query-batch.json
@@ -111,15 +111,6 @@
"v"
]
}
- },
- "type_strict": {
- "type": "string",
- "description": "A classification of the type matching strategy when multiple types are supplied",
- "enum": [
- "any",
- "should",
- "all"
- ]
}
},
"required": [
From f121f2f23ced2d65900cbe1724b6e9a9278e78f6 Mon Sep 17 00:00:00 2001
From: Fabian Steeg
Date: Thu, 11 Apr 2024 17:38:05 +0200
Subject: [PATCH 3/3] Update "This Draft" section for camelCase naming (#150,
#162)
---
draft/index.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/draft/index.html b/draft/index.html
index be5b7ef..2325c82 100644
--- a/draft/index.html
+++ b/draft/index.html
@@ -241,6 +241,7 @@ This Draft
Remove support for JSONP
Move the query
field of reconciliation queries inside properties
to allow for queries which do not provide entity names
Add optional standardizedScore
field to the manifest
+ Unify naming to camelCase convention