{
    "content": [
        {
            "type": "text",
            "text": "# Net::OpenID::Yadis::Service (perldoc)\n\n## NAME\n\nNet::OpenID::Yadis::Service - Class representing an XRDS Service element\n\n## SYNOPSIS\n\nuse Net::OpenID::Yadis;\nmy $disc = Net::OpenID::Yadis->new();\nmy @xrd = $disc->discover(\"http://id.example.com/\") or Carp::croak($disc->err);\nforeach my $srv (@xrd) {         # Loop for Each Service in Yadis Resourse Descriptor\nprint $srv->priority;          # Service priority (sorted)\nprint $srv->Type;              # Identifier of some version of some service (scalar, array or array ref)\nprint $srv->URI;               # URI that resolves to a resource providing the service (scalar, array or array ref)\nprint $srv->extrafield(\"Delegate\",\"http://openid.net/xmlns/1.0\");\n# Extra field of some service\n}\n\n## DESCRIPTION\n\nAfter Net::OpenID::Yadis performs discovery, the result is a list of instances of this class.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::OpenID::Yadis::Service",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::OpenID::Yadis::Service - Class representing an XRDS Service element",
        "synopsis": "use Net::OpenID::Yadis;\nmy $disc = Net::OpenID::Yadis->new();\nmy @xrd = $disc->discover(\"http://id.example.com/\") or Carp::croak($disc->err);\nforeach my $srv (@xrd) {         # Loop for Each Service in Yadis Resourse Descriptor\nprint $srv->priority;          # Service priority (sorted)\nprint $srv->Type;              # Identifier of some version of some service (scalar, array or array ref)\nprint $srv->URI;               # URI that resolves to a resource providing the service (scalar, array or array ref)\nprint $srv->extrafield(\"Delegate\",\"http://openid.net/xmlns/1.0\");\n# Extra field of some service\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::OpenID::Yadis::Service - Class representing an XRDS Service element\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 1.20\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::OpenID::Yadis;\nmy $disc = Net::OpenID::Yadis->new();\nmy @xrd = $disc->discover(\"http://id.example.com/\") or Carp::croak($disc->err);\n\nforeach my $srv (@xrd) {         # Loop for Each Service in Yadis Resourse Descriptor\nprint $srv->priority;          # Service priority (sorted)\nprint $srv->Type;              # Identifier of some version of some service (scalar, array or array ref)\nprint $srv->URI;               # URI that resolves to a resource providing the service (scalar, array or array ref)\nprint $srv->extrafield(\"Delegate\",\"http://openid.net/xmlns/1.0\");\n# Extra field of some service\n}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "After Net::OpenID::Yadis performs discovery, the result is a list of instances of this class.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "$srv->priority\nThe priority value for the service.\n\n$srv->Type\nThe URI representing the kind of service provided at the endpoint for this record.\n\n$srv->URI\nThe URI of the service endpoint.\n\n$srv->extrafield( $fieldname , $namespace )\nFetch the value of extension fields not provided directly by this class.\n\nIf $namespace is not specified, the default is the namespace whose name is the empty string.\n\nCOPYRIGHT, WARRANTY, AUTHOR\nSee Net::OpenID::Yadis for author, copyright and licensing information.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Net::OpenID::Yadis\n\nYadis website: <http://yadis.org/>\n",
                "subsections": []
            }
        }
    }
}