Skip to content

Commit

Permalink
re-generate default model
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Aug 8, 2024
1 parent db861ed commit 0f3326a
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions js/src/defaultModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4486,6 +4486,12 @@
"matchable": true,
"plural": "People",
"properties": {
"appearance": {
"label": "Physical appearance",
"name": "appearance",
"qname": "Person:appearance",
"type": "string"
},
"associates": {
"label": "Associates",
"matchable": true,
Expand Down Expand Up @@ -4618,12 +4624,6 @@
"qname": "Person:height",
"type": "number"
},
"identifyingMarks": {
"label": "Identifying marks",
"name": "identifyingMarks",
"qname": "Person:identifyingMarks",
"type": "string"
},
"images": {
"label": "Images",
"matchable": true,
Expand Down Expand Up @@ -6478,6 +6478,7 @@
"group": "addresses",
"label": "Address",
"matchable": true,
"max_size": 250,
"pivot": true,
"plural": "Addresses"
},
Expand All @@ -6486,6 +6487,7 @@
"group": "checksums",
"label": "Checksum",
"matchable": true,
"max_size": 40,
"pivot": true,
"plural": "Checksums"
},
Expand All @@ -6494,6 +6496,7 @@
"group": "countries",
"label": "Country",
"matchable": true,
"max_size": 16,
"plural": "Countries",
"values": {
"ac": "Ascension Island",
Expand Down Expand Up @@ -6787,13 +6790,15 @@
"group": "dates",
"label": "Date",
"matchable": true,
"max_size": 32,
"plural": "Dates"
},
"email": {
"description": "Internet mail address (e.g. user@example.com). These are notoriously hard\nto validate, but we use an irresponsibly simple rule and hope for the best.",
"group": "emails",
"label": "E-Mail Address",
"matchable": true,
"max_size": 250,
"pivot": true,
"plural": "E-Mail Addresses"
},
Expand All @@ -6802,13 +6807,15 @@
"group": "entities",
"label": "Entity",
"matchable": true,
"max_size": 250,
"pivot": true,
"plural": "Entities"
},
"gender": {
"description": "A human gender. This is not meant to be a comprehensive model of\nthe social realities of gender but a way to capture data from (mostly)\ngovernment databases and represent it in a way that can be used by\nstructured tools. I'm not sure this justifies the simplification.",
"group": "genders",
"label": "Gender",
"max_size": 16,
"plural": "Genders",
"values": {
"female": "female",
Expand All @@ -6819,13 +6826,15 @@
"html": {
"description": "Properties that contain raw hypertext markup (HTML).\n\nUser interfaces rendering properties of this type need to take extreme\ncare not to allow attacks such as cross-site scripting. It is recommended\nto perform server-side sanitisation, or to not render this property at all.",
"label": "HTML",
"max_size": 65000,
"plural": "HTMLs"
},
"iban": {
"description": "An international bank account number, as defined in ISO 13616. IBANs are\nmanaged by SWIFT used in the European SEPA payment system.\n\nA notable aspect of IBANs is that they share a country prefix and validation\nmechanism, but the specific length of an IBAN is dependent on the country\ncode defined in the first two characters: `NO8330001234567` and\n`CY21002001950000357001234567` are both valid values.",
"group": "ibans",
"label": "IBAN",
"matchable": true,
"max_size": 64,
"pivot": true,
"plural": "IBANs"
},
Expand All @@ -6834,6 +6843,7 @@
"group": "identifiers",
"label": "Identifier",
"matchable": true,
"max_size": 64,
"pivot": true,
"plural": "Identifiers"
},
Expand All @@ -6842,18 +6852,21 @@
"group": "ips",
"label": "IP-Address",
"matchable": true,
"max_size": 64,
"pivot": true,
"plural": "IP-Addresses"
},
"json": {
"description": "An encoded JSON object. This is used to store raw HTTP headers for documents\nand some other edge cases. It's a really bad idea and we should try to get rid\nof JSON properties.",
"label": "Nested data",
"max_size": 250,
"plural": "Nested data"
},
"language": {
"description": "A human written language. This list is arbitrarily limited for some\nweird upstream technical reasons, but we'll happily accept pull requests\nfor additional languages once there is a specific need for them to be\nsupported.",
"group": "languages",
"label": "Language",
"max_size": 16,
"plural": "Languages",
"values": {
"afr": "Afrikaans",
Expand Down Expand Up @@ -6924,43 +6937,50 @@
"description": "A MIME media type are a specification of a content type on a network.\nEach MIME type is assigned by IANA and consists of two parts: the type\nand sub-type. Common examples are: `text/plain`, `application/json` and\n`application/pdf`.\n\nMIME type properties do not contain parameters as used in HTTP headers,\nlike `charset=UTF-8`.",
"group": "mimetypes",
"label": "MIME-Type",
"max_size": 250,
"plural": "MIME-Types"
},
"name": {
"description": "A name used for a person or company. This is assumed to be as complete\na name as available - when a first name, family name or patronymic are given\nseparately, these are stored to string-type properties instead.\n\nNo validation rules apply, and things having multiple names must be considered\na perfectly ordinary case.",
"group": "names",
"label": "Name",
"matchable": true,
"max_size": 250,
"pivot": true,
"plural": "Names"
},
"number": {
"description": "A numeric value, like the size of a piece of land, or the value of a\ncontract. Since all property values in FtM are strings, this is also a\nstring and there is no specified format (e.g. `1,000.00` vs. `1.000,00`).\n\nIn the future we might want to enable annotations for format, units, or\neven to introduce a separate property type for monetary values.",
"label": "Number",
"max_size": 250,
"plural": "Numbers"
},
"phone": {
"description": "A phone number in E.164 format. This means that phone numbers always\ninclude an international country prefix (e.g. `+38760183628`). The\ncleaning and validation functions for this try to be smart about by\naccepting a list of countries as an argument in order to add the number\nprefix.\n\nWhen adding a property of this type to an entity, any country-type properties\ndefined for the entity are considered for validation. That means that adding a\nphone number to an entity before adding a country can have a different\nvalidation outcome from doing the two operations the other way around. Always\ndefine the country first.",
"group": "phones",
"label": "Phone number",
"matchable": true,
"max_size": 64,
"pivot": true,
"plural": "Phone numbers"
},
"string": {
"description": "A simple string property with no additional semantics.",
"label": "Label",
"max_size": 1024,
"plural": "Labels"
},
"text": {
"description": "Longer text fragments, such as descriptions or document text. Unlike\nstring properties, it might make sense to treat properties of this type as\nfull-text search material.",
"label": "Text",
"max_size": 65000,
"plural": "Texts"
},
"topic": {
"description": "Topics define a controlled vocabulary of terms applicable to some\nentities, such as companies and people. They describe categories of\njournalistic interest which may apply to the given entity, for example\nif a given person is a criminal or a politician.\n\nBesides the informative value, topics are ultimately supposed to bear\nfruits in the context of graph-based data analysis, where they would\nenable queries such as _find all paths between a government procurement\naward and a politician_.",
"group": "topics",
"label": "Topic",
"max_size": 64,
"plural": "Topics",
"values": {
"asset.frozen": "Frozen asset",
Expand Down Expand Up @@ -7014,6 +7034,7 @@
"role.journo": "Journalist",
"role.judge": "Judge",
"role.lawyer": "Lawyer",
"role.lobby": "Lobbyist",
"role.oligarch": "Oligarch",
"role.pep": "Politician",
"role.pol": "Non-PEP",
Expand All @@ -7030,6 +7051,7 @@
"group": "urls",
"label": "URL",
"matchable": true,
"max_size": 4096,
"pivot": true,
"plural": "URLs"
}
Expand Down

0 comments on commit 0f3326a

Please sign in to comment.