|
| 1 | +TYPES: #interactionstat-1 Person, InteractionCounter |
| 2 | + |
| 3 | +PRE-MARKUP: |
| 4 | + |
| 5 | +A media creator with a number of likes and follows. |
| 6 | + |
| 7 | +MICRODATA: |
| 8 | + |
| 9 | +<!-- JSON-LD example only --> |
| 10 | + |
| 11 | +RDFA: |
| 12 | + |
| 13 | +<!-- JSON-LD example only --> |
| 14 | + |
| 15 | +JSON: |
| 16 | + |
| 17 | + |
| 18 | +<script type="application/ld+json"> |
| 19 | +{ |
| 20 | + "@context": "http://schema.org/", |
| 21 | + "@type": "Person", |
| 22 | + "name": "Jane Doe", |
| 23 | + "interactionStatistic": [ |
| 24 | + { |
| 25 | + "@type": "InteractionCounter", |
| 26 | + "interactionType": "http://schema.org/LikeAction", |
| 27 | + "userInteractionCount": 1170 |
| 28 | + }, |
| 29 | + { |
| 30 | + "@type": "InteractionCounter", |
| 31 | + "interactionType": "http://schema.org/FollowAction", |
| 32 | + "userInteractionCount": 145098 |
| 33 | + } |
| 34 | + ] |
| 35 | +} |
| 36 | +</script> |
| 37 | + |
| 38 | +TYPES: #interactionstat-2 Organization, InteractionCounter |
| 39 | + |
| 40 | +PRE-MARKUP: |
| 41 | + |
| 42 | +An organization with a number of likes and follows. |
| 43 | + |
| 44 | +MICRODATA: |
| 45 | + |
| 46 | +<!-- JSON-LD example only --> |
| 47 | + |
| 48 | +RDFA: |
| 49 | + |
| 50 | +<!-- JSON-LD example only --> |
| 51 | + |
| 52 | +JSON: |
| 53 | + |
| 54 | + |
| 55 | +<script type="application/ld+json"> |
| 56 | +{ |
| 57 | + "@context": "http://schema.org/", |
| 58 | + "@type": "Organization", |
| 59 | + "name": "ACME", |
| 60 | + "interactionStatistic": [ |
| 61 | + { |
| 62 | + "@type": "InteractionCounter", |
| 63 | + "interactionType": "http://schema.org/LikeAction", |
| 64 | + "userInteractionCount": 1170 |
| 65 | + }, |
| 66 | + { |
| 67 | + "@type": "InteractionCounter", |
| 68 | + "interactionType": "http://schema.org/FollowAction", |
| 69 | + "userInteractionCount": 145098 |
| 70 | + } |
| 71 | + ] |
| 72 | +} |
| 73 | +</script> |
| 74 | + |
0 commit comments