AffinityRx · JSON-LD Context

Affinityrx Com Context

JSON-LD context defining the semantic vocabulary for Affinityrx Com from AffinityRx.

43 Classes 98 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
affinityrx: https://affinityrx.com/schema#

Classes

PracticeAddressInput ShippingDestinationAddressType ShippingDestinationPracticeType ShippingDestinationPatientType OrderSearch OrderInput ShippingDestinationAddressInput AddressInput ShippingDestinationPracticeInput ShippingDestinationPatientInput PrescriptionInput PrescriberInput PatientInput OrderEventType PrescriptionEventType WebhookEndpointTestEventType Account Address MedicationList Medication Fill Kit PharmacyReference ShippingOption Order Patient Allergy Prescription ShippingDestinationPatient ShippingDestinationPractice ShippingDestinationAddress Shipment StatusHistoryEntry OrderList Practice PracticeList WebhookEndpointList WebhookEndpoint OrderEvent WebhookOrder PrescriptionEvent WebhookEndpointTestEvent Problem

Properties

Property Type Container
line1 string
line2
city string
state string
postalCode string
limit integer
startingAfter string
externalOrderId string
updatedAfter dateTime
patientId string
practiceId string
query string
status string
cancelRequested boolean
recentlyShipped boolean
sort string
patient reference
prescriber reference
prescriptions list
shipping
signatureAttestation boolean
type reference
address reference
compoundingReason
daysSupply integer
directions string
medicationId string
notes
quantity integer
refills integer
substitutionPermitted boolean
phone
firstName string
lastName string
npi string
allergies list
dateOfBirth string
email string
sex string
middleName
externalId
id string
name string
liveEnabled boolean
createdAt dateTime
mode string
data list
hasMore boolean
nextCursor
object string
url string
category string
coldChainRequired boolean
compoundingReasons list
defaultDirections
fill
form
fullName string
kit
pharmacy reference
pharmacyRank integer
price integer
researchUseOnly boolean
maxRefills integer
quantities list
quantityUnit
requirements list
restrictedStates list
shippingOptions list
shippingSuppliesPrice integer
strength
unsupportedFields list
amount integer
container
ingredients list
unit string
volume
days integer
vials list
cancelRequestedAt
failureReason
practice
shipments list
trackingUrl
statusHistory list
total integer
updatedAt dateTime
display string
medication
carrier
trackingNumber string
code string
detail string
title string
issues list
instance string
requestId string
traceId string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://affinityrx.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "affinityrx": "https://affinityrx.com/schema#",
    "PracticeAddressInput": "affinityrx:PracticeAddressInput",
    "line1": {
      "@id": "affinityrx:line1",
      "@type": "xsd:string"
    },
    "line2": {
      "@id": "affinityrx:line2"
    },
    "city": {
      "@id": "affinityrx:city",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "affinityrx:state",
      "@type": "xsd:string"
    },
    "postalCode": {
      "@id": "affinityrx:postalCode",
      "@type": "xsd:string"
    },
    "ShippingDestinationAddressType": "affinityrx:ShippingDestinationAddressType",
    "ShippingDestinationPracticeType": "affinityrx:ShippingDestinationPracticeType",
    "ShippingDestinationPatientType": "affinityrx:ShippingDestinationPatientType",
    "OrderSearch": "affinityrx:OrderSearch",
    "limit": {
      "@id": "affinityrx:limit",
      "@type": "xsd:integer"
    },
    "startingAfter": {
      "@id": "affinityrx:startingAfter",
      "@type": "xsd:string"
    },
    "externalOrderId": {
      "@id": "affinityrx:externalOrderId",
      "@type": "xsd:string"
    },
    "updatedAfter": {
      "@id": "affinityrx:updatedAfter",
      "@type": "xsd:dateTime"
    },
    "patientId": {
      "@id": "affinityrx:patientId",
      "@type": "xsd:string"
    },
    "practiceId": {
      "@id": "affinityrx:practiceId",
      "@type": "xsd:string"
    },
    "query": {
      "@id": "affinityrx:query",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "affinityrx:status",
      "@type": "xsd:string"
    },
    "cancelRequested": {
      "@id": "affinityrx:cancelRequested",
      "@type": "xsd:boolean"
    },
    "recentlyShipped": {
      "@id": "affinityrx:recentlyShipped",
      "@type": "xsd:boolean"
    },
    "sort": {
      "@id": "affinityrx:sort",
      "@type": "xsd:string"
    },
    "OrderInput": "affinityrx:OrderInput",
    "patient": {
      "@id": "affinityrx:patient",
      "@type": "@id"
    },
    "prescriber": {
      "@id": "affinityrx:prescriber",
      "@type": "@id"
    },
    "prescriptions": {
      "@id": "affinityrx:prescriptions",
      "@container": "@list"
    },
    "shipping": {
      "@id": "affinityrx:shipping"
    },
    "signatureAttestation": {
      "@id": "affinityrx:signatureAttestation",
      "@type": "xsd:boolean"
    },
    "ShippingDestinationAddressInput": "affinityrx:ShippingDestinationAddressInput",
    "type": {
      "@id": "affinityrx:type",
      "@type": "@id"
    },
    "address": {
      "@id": "affinityrx:address",
      "@type": "@id"
    },
    "AddressInput": "affinityrx:AddressInput",
    "ShippingDestinationPracticeInput": "affinityrx:ShippingDestinationPracticeInput",
    "ShippingDestinationPatientInput": "affinityrx:ShippingDestinationPatientInput",
    "PrescriptionInput": "affinityrx:PrescriptionInput",
    "compoundingReason": {
      "@id": "affinityrx:compoundingReason"
    },
    "daysSupply": {
      "@id": "affinityrx:daysSupply",
      "@type": "xsd:integer"
    },
    "directions": {
      "@id": "affinityrx:directions",
      "@type": "xsd:string"
    },
    "medicationId": {
      "@id": "affinityrx:medicationId",
      "@type": "xsd:string"
    },
    "notes": {
      "@id": "affinityrx:notes"
    },
    "quantity": {
      "@id": "affinityrx:quantity",
      "@type": "xsd:integer"
    },
    "refills": {
      "@id": "affinityrx:refills",
      "@type": "xsd:integer"
    },
    "substitutionPermitted": {
      "@id": "affinityrx:substitutionPermitted",
      "@type": "xsd:boolean"
    },
    "PrescriberInput": "affinityrx:PrescriberInput",
    "phone": {
      "@id": "affinityrx:phone"
    },
    "firstName": {
      "@id": "affinityrx:firstName",
      "@type": "xsd:string"
    },
    "lastName": {
      "@id": "affinityrx:lastName",
      "@type": "xsd:string"
    },
    "npi": {
      "@id": "affinityrx:npi",
      "@type": "xsd:string"
    },
    "PatientInput": "affinityrx:PatientInput",
    "allergies": {
      "@id": "affinityrx:allergies",
      "@container": "@list"
    },
    "dateOfBirth": {
      "@id": "affinityrx:dateOfBirth",
      "@type": "xsd:string"
    },
    "email": {
      "@id": "affinityrx:email",
      "@type": "xsd:string"
    },
    "sex": {
      "@id": "affinityrx:sex",
      "@type": "xsd:string"
    },
    "middleName": {
      "@id": "affinityrx:middleName"
    },
    "externalId": {
      "@id": "affinityrx:externalId"
    },
    "id": {
      "@id": "affinityrx:id",
      "@type": "xsd:string"
    },
    "OrderEventType": "affinityrx:OrderEventType",
    "PrescriptionEventType": "affinityrx:PrescriptionEventType",
    "WebhookEndpointTestEventType": "affinityrx:WebhookEndpointTestEventType",
    "Account": "affinityrx:Account",
    "name": {
      "@id": "affinityrx:name",
      "@type": "xsd:string"
    },
    "liveEnabled": {
      "@id": "affinityrx:liveEnabled",
      "@type": "xsd:boolean"
    },
    "createdAt": {
      "@id": "affinityrx:createdAt",
      "@type": "xsd:dateTime"
    },
    "mode": {
      "@id": "affinityrx:mode",
      "@type": "xsd:string"
    },
    "Address": "affinityrx:Address",
    "MedicationList": "affinityrx:MedicationList",
    "data": {
      "@id": "affinityrx:data",
      "@container": "@list"
    },
    "hasMore": {
      "@id": "affinityrx:hasMore",
      "@type": "xsd:boolean"
    },
    "nextCursor": {
      "@id": "affinityrx:nextCursor"
    },
    "object": {
      "@id": "affinityrx:object",
      "@type": "xsd:string"
    },
    "url": {
      "@id": "affinityrx:url",
      "@type": "xsd:string"
    },
    "Medication": "affinityrx:Medication",
    "category": {
      "@id": "affinityrx:category",
      "@type": "xsd:string"
    },
    "coldChainRequired": {
      "@id": "affinityrx:coldChainRequired",
      "@type": "xsd:boolean"
    },
    "compoundingReasons": {
      "@id": "affinityrx:compoundingReasons",
      "@container": "@list"
    },
    "defaultDirections": {
      "@id": "affinityrx:defaultDirections"
    },
    "fill": {
      "@id": "affinityrx:fill"
    },
    "form": {
      "@id": "affinityrx:form"
    },
    "fullName": {
      "@id": "affinityrx:fullName",
      "@type": "xsd:string"
    },
    "kit": {
      "@id": "affinityrx:kit"
    },
    "pharmacy": {
      "@id": "affinityrx:pharmacy",
      "@type": "@id"
    },
    "pharmacyRank": {
      "@id": "affinityrx:pharmacyRank",
      "@type": "xsd:integer"
    },
    "price": {
      "@id": "affinityrx:price",
      "@type": "xsd:integer"
    },
    "researchUseOnly": {
      "@id": "affinityrx:researchUseOnly",
      "@type": "xsd:boolean"
    },
    "maxRefills": {
      "@id": "affinityrx:maxRefills",
      "@type": "xsd:integer"
    },
    "quantities": {
      "@id": "affinityrx:quantities",
      "@container": "@list"
    },
    "quantityUnit": {
      "@id": "affinityrx:quantityUnit"
    },
    "requirements": {
      "@id": "affinityrx:requirements",
      "@container": "@list"
    },
    "restrictedStates": {
      "@id": "affinityrx:restrictedStates",
      "@container": "@list"
    },
    "shippingOptions": {
      "@id": "affinityrx:shippingOptions",
      "@container": "@list"
    },
    "shippingSuppliesPrice": {
      "@id": "affinityrx:shippingSuppliesPrice",
      "@type": "xsd:integer"
    },
    "strength": {
      "@id": "affinityrx:strength"
    },
    "unsupportedFields": {
      "@id": "affinityrx:unsupportedFields",
      "@container": "@list"
    },
    "Fill": "affinityrx:Fill",
    "amount": {
      "@id": "affinityrx:amount",
      "@type": "xsd:integer"
    },
    "container": {
      "@id": "affinityrx:container"
    },
    "ingredients": {
      "@id": "affinityrx:ingredients",
      "@container": "@list"
    },
    "unit": {
      "@id": "affinityrx:unit",
      "@type": "xsd:string"
    },
    "volume": {
      "@id": "affinityrx:volume"
    },
    "Kit": "affinityrx:Kit",
    "days": {
      "@id": "affinityrx:days",
      "@type": "xsd:integer"
    },
    "vials": {
      "@id": "affinityrx:vials",
      "@container": "@list"
    },
    "PharmacyReference": "affinityrx:PharmacyReference",
    "ShippingOption": "affinityrx:ShippingOption",
    "Order": "affinityrx:Order",
    "cancelRequestedAt": {
      "@id": "affinityrx:cancelRequestedAt"
    },
    "failureReason": {
      "@id": "affinityrx:failureReason"
    },
    "practice": {
      "@id": "affinityrx:practice"
    },
    "shipments": {
      "@id": "affinityrx:shipments",
      "@container": "@list"
    },
    "trackingUrl": {
      "@id": "affinityrx:trackingUrl"
    },
    "statusHistory": {
      "@id": "affinityrx:statusHistory",
      "@container": "@list"
    },
    "total": {
      "@id": "affinityrx:total",
      "@type": "xsd:integer"
    },
    "updatedAt": {
      "@id": "affinityrx:updatedAt",
      "@type": "xsd:dateTime"
    },
    "Patient": "affinityrx:Patient",
    "Allergy": "affinityrx:Allergy",
    "display": {
      "@id": "affinityrx:display",
      "@type": "xsd:string"
    },
    "Prescription": "affinityrx:Prescription",
    "medication": {
      "@id": "affinityrx:medication"
    },
    "ShippingDestinationPatient": "affinityrx:ShippingDestinationPatient",
    "ShippingDestinationPractice": "affinityrx:ShippingDestinationPractice",
    "ShippingDestinationAddress": "affinityrx:ShippingDestinationAddress",
    "Shipment": "affinityrx:Shipment",
    "carrier": {
      "@id": "affinityrx:carrier"
    },
    "trackingNumber": {
      "@id": "affinityrx:trackingNumber",
      "@type": "xsd:string"
    },
    "StatusHistoryEntry": "affinityrx:StatusHistoryEntry",
    "OrderList": "affinityrx:OrderList",
    "Practice": "affinityrx:Practice",
    "PracticeList": "affinityrx:PracticeList",
    "WebhookEndpointList": "affinityrx:WebhookEndpointList",
    "WebhookEndpoint": "affinityrx:WebhookEndpoint",
    "OrderEvent": "affinityrx:OrderEvent",
    "WebhookOrder": "affinityrx:WebhookOrder",
    "PrescriptionEvent": "affinityrx:PrescriptionEvent",
    "WebhookEndpointTestEvent": "affinityrx:WebhookEndpointTestEvent",
    "Problem": "affinityrx:Problem",
    "code": {
      "@id": "affinityrx:code",
      "@type": "xsd:string"
    },
    "detail": {
      "@id": "affinityrx:detail",
      "@type": "xsd:string"
    },
    "title": {
      "@id": "affinityrx:title",
      "@type": "xsd:string"
    },
    "issues": {
      "@id": "affinityrx:issues",
      "@container": "@list"
    },
    "instance": {
      "@id": "affinityrx:instance",
      "@type": "xsd:string"
    },
    "requestId": {
      "@id": "affinityrx:requestId",
      "@type": "xsd:string"
    },
    "traceId": {
      "@id": "affinityrx:traceId",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "AffinityRx API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects AffinityRx's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-23) from openapi/affinityrx-com-openapi.json.",
  "dcterms:created": "2026-11-23",
  "dcterms:source": [
    "openapi/affinityrx-com-openapi.json"
  ]
}