identity.rb 8.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # frozen_string_literal: true
  2. # This file generated automatically from http://w3id.org/identity/v1
  3. require 'json/ld'
  4. class JSON::LD::Context
  5. add_preloaded("http://w3id.org/identity/v1") do
  6. new(term_definitions: {
  7. "Credential" => TermDefinition.new("Credential", id: "https://w3id.org/credentials#Credential", simple: true),
  8. "CryptographicKey" => TermDefinition.new("CryptographicKey", id: "https://w3id.org/security#Key", simple: true),
  9. "CryptographicKeyCredential" => TermDefinition.new("CryptographicKeyCredential", id: "https://w3id.org/credentials#CryptographicKeyCredential", simple: true),
  10. "EncryptedMessage" => TermDefinition.new("EncryptedMessage", id: "https://w3id.org/security#EncryptedMessage", simple: true),
  11. "GraphSignature2012" => TermDefinition.new("GraphSignature2012", id: "https://w3id.org/security#GraphSignature2012", simple: true),
  12. "Group" => TermDefinition.new("Group", id: "https://www.w3.org/ns/activitystreams#Group", simple: true),
  13. "Identity" => TermDefinition.new("Identity", id: "https://w3id.org/identity#Identity", simple: true),
  14. "LinkedDataSignature2015" => TermDefinition.new("LinkedDataSignature2015", id: "https://w3id.org/security#LinkedDataSignature2015", simple: true),
  15. "Organization" => TermDefinition.new("Organization", id: "http://schema.org/Organization", simple: true),
  16. "Person" => TermDefinition.new("Person", id: "http://schema.org/Person", simple: true),
  17. "PostalAddress" => TermDefinition.new("PostalAddress", id: "http://schema.org/PostalAddress", simple: true),
  18. "about" => TermDefinition.new("about", id: "http://schema.org/about", type_mapping: "@id"),
  19. "accessControl" => TermDefinition.new("accessControl", id: "https://w3id.org/permissions#accessControl", type_mapping: "@id"),
  20. "address" => TermDefinition.new("address", id: "http://schema.org/address", type_mapping: "@id"),
  21. "addressCountry" => TermDefinition.new("addressCountry", id: "http://schema.org/addressCountry", simple: true),
  22. "addressLocality" => TermDefinition.new("addressLocality", id: "http://schema.org/addressLocality", simple: true),
  23. "addressRegion" => TermDefinition.new("addressRegion", id: "http://schema.org/addressRegion", simple: true),
  24. "cipherAlgorithm" => TermDefinition.new("cipherAlgorithm", id: "https://w3id.org/security#cipherAlgorithm", simple: true),
  25. "cipherData" => TermDefinition.new("cipherData", id: "https://w3id.org/security#cipherData", simple: true),
  26. "cipherKey" => TermDefinition.new("cipherKey", id: "https://w3id.org/security#cipherKey", simple: true),
  27. "claim" => TermDefinition.new("claim", id: "https://w3id.org/credentials#claim", type_mapping: "@id"),
  28. "comment" => TermDefinition.new("comment", id: "http://www.w3.org/2000/01/rdf-schema#comment", simple: true),
  29. "created" => TermDefinition.new("created", id: "http://purl.org/dc/terms/created", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
  30. "creator" => TermDefinition.new("creator", id: "http://purl.org/dc/terms/creator", type_mapping: "@id"),
  31. "cred" => TermDefinition.new("cred", id: "https://w3id.org/credentials#", simple: true, prefix: true),
  32. "credential" => TermDefinition.new("credential", id: "https://w3id.org/credentials#credential", type_mapping: "@id"),
  33. "dc" => TermDefinition.new("dc", id: "http://purl.org/dc/terms/", simple: true, prefix: true),
  34. "description" => TermDefinition.new("description", id: "http://schema.org/description", simple: true),
  35. "digestAlgorithm" => TermDefinition.new("digestAlgorithm", id: "https://w3id.org/security#digestAlgorithm", simple: true),
  36. "digestValue" => TermDefinition.new("digestValue", id: "https://w3id.org/security#digestValue", simple: true),
  37. "domain" => TermDefinition.new("domain", id: "https://w3id.org/security#domain", simple: true),
  38. "email" => TermDefinition.new("email", id: "http://schema.org/email", simple: true),
  39. "expires" => TermDefinition.new("expires", id: "https://w3id.org/security#expiration", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
  40. "familyName" => TermDefinition.new("familyName", id: "http://schema.org/familyName", simple: true),
  41. "givenName" => TermDefinition.new("givenName", id: "http://schema.org/givenName", simple: true),
  42. "id" => TermDefinition.new("id", id: "@id", simple: true),
  43. "identity" => TermDefinition.new("identity", id: "https://w3id.org/identity#", simple: true, prefix: true),
  44. "identityService" => TermDefinition.new("identityService", id: "https://w3id.org/identity#identityService", type_mapping: "@id"),
  45. "idp" => TermDefinition.new("idp", id: "https://w3id.org/identity#idp", type_mapping: "@id"),
  46. "image" => TermDefinition.new("image", id: "http://schema.org/image", type_mapping: "@id"),
  47. "initializationVector" => TermDefinition.new("initializationVector", id: "https://w3id.org/security#initializationVector", simple: true),
  48. "issued" => TermDefinition.new("issued", id: "https://w3id.org/credentials#issued", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
  49. "issuer" => TermDefinition.new("issuer", id: "https://w3id.org/credentials#issuer", type_mapping: "@id"),
  50. "label" => TermDefinition.new("label", id: "http://www.w3.org/2000/01/rdf-schema#label", simple: true),
  51. "member" => TermDefinition.new("member", id: "http://schema.org/member", type_mapping: "@id"),
  52. "memberOf" => TermDefinition.new("memberOf", id: "http://schema.org/memberOf", type_mapping: "@id"),
  53. "name" => TermDefinition.new("name", id: "http://schema.org/name", simple: true),
  54. "nonce" => TermDefinition.new("nonce", id: "https://w3id.org/security#nonce", simple: true),
  55. "normalizationAlgorithm" => TermDefinition.new("normalizationAlgorithm", id: "https://w3id.org/security#normalizationAlgorithm", simple: true),
  56. "owner" => TermDefinition.new("owner", id: "https://w3id.org/security#owner", type_mapping: "@id"),
  57. "password" => TermDefinition.new("password", id: "https://w3id.org/security#password", simple: true),
  58. "paymentProcessor" => TermDefinition.new("paymentProcessor", id: "https://w3id.org/payswarm#processor", simple: true),
  59. "perm" => TermDefinition.new("perm", id: "https://w3id.org/permissions#", simple: true, prefix: true),
  60. "postalCode" => TermDefinition.new("postalCode", id: "http://schema.org/postalCode", simple: true),
  61. "preferences" => TermDefinition.new("preferences", id: "https://w3id.org/payswarm#preferences", type_mapping: "@vocab"),
  62. "privateKey" => TermDefinition.new("privateKey", id: "https://w3id.org/security#privateKey", type_mapping: "@id"),
  63. "privateKeyPem" => TermDefinition.new("privateKeyPem", id: "https://w3id.org/security#privateKeyPem", simple: true),
  64. "ps" => TermDefinition.new("ps", id: "https://w3id.org/payswarm#", simple: true, prefix: true),
  65. "publicKey" => TermDefinition.new("publicKey", id: "https://w3id.org/security#publicKey", type_mapping: "@id"),
  66. "publicKeyPem" => TermDefinition.new("publicKeyPem", id: "https://w3id.org/security#publicKeyPem", simple: true),
  67. "publicKeyService" => TermDefinition.new("publicKeyService", id: "https://w3id.org/security#publicKeyService", type_mapping: "@id"),
  68. "rdf" => TermDefinition.new("rdf", id: "http://www.w3.org/1999/02/22-rdf-syntax-ns#", simple: true, prefix: true),
  69. "rdfs" => TermDefinition.new("rdfs", id: "http://www.w3.org/2000/01/rdf-schema#", simple: true, prefix: true),
  70. "recipient" => TermDefinition.new("recipient", id: "https://w3id.org/credentials#recipient", type_mapping: "@id"),
  71. "revoked" => TermDefinition.new("revoked", id: "https://w3id.org/security#revoked", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
  72. "schema" => TermDefinition.new("schema", id: "http://schema.org/", simple: true, prefix: true),
  73. "sec" => TermDefinition.new("sec", id: "https://w3id.org/security#", simple: true, prefix: true),
  74. "signature" => TermDefinition.new("signature", id: "https://w3id.org/security#signature", simple: true),
  75. "signatureAlgorithm" => TermDefinition.new("signatureAlgorithm", id: "https://w3id.org/security#signatureAlgorithm", simple: true),
  76. "signatureValue" => TermDefinition.new("signatureValue", id: "https://w3id.org/security#signatureValue", simple: true),
  77. "streetAddress" => TermDefinition.new("streetAddress", id: "http://schema.org/streetAddress", simple: true),
  78. "title" => TermDefinition.new("title", id: "http://purl.org/dc/terms/title", simple: true),
  79. "type" => TermDefinition.new("type", id: "@type", simple: true),
  80. "url" => TermDefinition.new("url", id: "http://schema.org/url", type_mapping: "@id"),
  81. "writePermission" => TermDefinition.new("writePermission", id: "https://w3id.org/permissions#writePermission", type_mapping: "@id"),
  82. "xsd" => TermDefinition.new("xsd", id: "http://www.w3.org/2001/XMLSchema#", simple: true, prefix: true)
  83. })
  84. end
  85. alias_preloaded("https://w3id.org/identity/v1", "http://w3id.org/identity/v1")
  86. end