Skip to content

Instantly share code, notes, and snippets.

View dduran1967's full-sized avatar

Dave Duran dduran1967

  • Yodata
  • United States
View GitHub Profile
@dduran1967
dduran1967 / api-schema-final.yaml
Last active May 13, 2019 17:10
example /publish message
# to publish events POST to your pod /publish/
# POST /publish/ HTTP/1.1
# host: https://{sage-dev}.bhhs.hsfaffiliates.com
# production host: https://sage.bhhs.hsfaffiliates.com
# for dev/test:
recipient: https://sage-dev.bhhs.hsfaffiliates.com/profile/card#me
# for production
# recipient: https://bhhs.hsfaffiliates.com/profile/card#me
@dduran1967
dduran1967 / corrrections.json
Created February 27, 2019 06:08
submit_wiresafe_1.2
{
"type": "CreateAction",
"agent": {
"givenName": "Ravindra",
"familyName": "R",
"email": "ravindra.r@fnf.com",
"identifier": {
"SoftPro360CSN": "410060"
}
},
@dduran1967
dduran1967 / README.md
Last active January 30, 2019 07:10
InteractionCounter Examples

InteractionCounter

A summary of how users have interacted with a resource such as a listing detail page.

source: https://schema.org/InteractionCounter

Example 1

JUWAI reports a listing has 2 property detail views.

@dduran1967
dduran1967 / update-action-example-with-result.yaml
Last active December 7, 2018 19:20
UpdateAction with result example...
# example of a http://schema.org/UpdateAction
# including a schema:result
---
# before the change, bob is in just one group
type: RealEstateAgent
id: https://bob.example.com
memberOf:
- type: OrganizationRole
id: PlainOldBoringUserGroup
memberOf: https://office.example.com

Keybase proof

I hereby claim:

  • I am dduran1967 on github.
  • I am daveduran (https://keybase.io/daveduran) on keybase.
  • I have a public key ASDABCxETjUIe6k1TqwNOEvKqBGKG3I5AsjveZMqXyn3CAo

To claim this, I am signing this object:

<!--
Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
### Keybase proof
I hereby claim:
* I am dduran1967 on github.
* I am yodata (https://keybase.io/yodata) on keybase.
* I have a public key ASBOMq567CukX-wWB4Nu3NpmLd92PGqUTotIczK0OfsJrQo
To claim this, I am signing this object:
@dduran1967
dduran1967 / 0. msg.jsonld
Last active December 21, 2016 23:02
solid inbox + jsonld content-type
{
"@context": "http://schema.org/",
"@type": "RegisterAction",
"name": "New website registration.",
"instrument": "https://dave.yodata.me/profile/card#me",
"agent": {
"@context": "https://dave.yodata.me/context/red.jsonld",
"contactKey": "fed8b152-9e4e-4d15-b2d8-a89dee0124a4",
"firstName": "sally",
"lastName": "tester",