Interfaccia utente di Vuforia Studio > Progetti ed esperienze > Esperienze basate su modello > Mappature IRS > Schema JSON di mappatura
  
Schema JSON di mappatura
Di seguito viene descritto lo schema JSON utilizzato per le mappature IRS che mappano un URN a un altro URN.
<irs-urn-mapping>:
{
"id": <id>,
"key": <urn>,
"value": <urn>,
}
<id>: integer
<urn>: <thingmark-urn> | <thing-urn> | <template-urn>
<thingmark-urn>: urn:vuforia:vumark:<thingmark-code>
<thing-urn>: urn:thingworx:thing:<thing-name>[@<hostname>]
<template-urn>: urn:thingworx:template:<template-name>[@<hostname>]
<thingmark-code>: <domain-id>:<instance-id>
<domain-id>: integer
<instance-id>: integer
<thing-name>: string (name of Thing in ThingWorx server)
<template-name>: string (name of ThingTemplate in ThingWorx server)
<hostname>: string (valid FQDN of machine hosting ThingWorx server)
* 
La proprietà id è immutabile e viene assegnata da Experience Service durante la creazione di una mappatura. Di conseguenza, quando si specifica il corpo di una richiesta utilizzata per creare o modificare una mappatura, la proprietà id viene omessa dall'oggetto JSON.
Quello che segue è un oggetto JSON di mappatura URN di esempio conforme a questo schema:
{
"id": 1512,
"key": "urn:vuforia:vumark:2:101",
"value": "urn:thingworx:thing:Quadcopter101@es.example.com"
}