web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

Advanced Parse JSON - JSON Schema - Usable $defs References In The GUI

(0) ShareShare
ReportReport
Posted on by 4,332 Moderator
Perhaps a question for the more advanced, out there, and not really expecting much of (if any) response, but wondered if anyone had a shortcut to get JSON schema definitions that you have defined via a reference to be usable in the Power Automate or Logic Apps GUI.
 
So, if I create a property like this:
 
I should be able to use that to 'pick' the data from that Parse JSON action.
 ...
However, the reality is far from this truth.
IMELEIMAGE_WILL_GO_HERE__BUT_I_AM_FOREVER_FIGHTING_THIS_DAMNED_NEW_FORUM
I have the same question (0)
  • eliotcole Profile Picture
    4,332 Moderator on at
    Advanced Parse JSON - JSON Schema - Usable $defs References In The GUI
    {
        "title": "{SD}",
        "type": "object",
        "properties": {
            "Data": {
                "$ref": "#/$defs/Data"
            }
        },
        "$defs": {
            "Data": {
                "description": "General data.",
                "title": "{Data}",
                "type": "object",
                "properties": {
                    "Dragon": {
                        "description": "The source type (Gorbash or Bryagh).",
                        "title": "Dragon Name",
                        "type": "string",
                        "enum": [
                            "Bryagh",
                            "Gorbash"
                        ]
                    },
                    "Wizard": {
                        "title": "Wizard Name",
                        "type": "string",
                        "enum": [
                            "Carolinus",
                            "Ommadon"
                        ]
                    }
                }
            }
        }
    }
     
  • eliotcole Profile Picture
    4,332 Moderator on at
    Advanced Parse JSON - JSON Schema - Usable $defs References In The GUI
  • Verified answer
    eliotcole Profile Picture
    4,332 Moderator on at
    Advanced Parse JSON - JSON Schema - Usable $defs References In The GUI
    Weirdly this appears to work if using 'definitions' as per the below ... AND when using '$defs' now ... so ... perhaps this was just a glitch?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

Last 30 days Overall leaderboard

Featured topics